home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / comm / bbs / WWBBSDoors.lha / WWBBS / rexxDoors / YuppieWars.rexx < prev   
Encoding:
OS/2 REXX Batch file  |  1995-04-27  |  116.4 KB  |  3,859 lines

  1. /* YUPPIE WARS!  V2.6-bb4 22-Nov-90/21-Feb-91  -  Dave Cole */
  2. /* Special thanks to Mike Soucy for the Slot Machine routine! */
  3. /* Special thanks to D.F. Duck for the Craps routine! */
  4. /* Special thanks to Jim Foley for a couple suggestions! & Mem-Safeguard!*/
  5. /* Special thanks to ME for the rest of the routine */
  6. /* This is my "Hello World" program so bare with me! */
  7. /* For updates/questions/whatever call Wolverine's Den (616)533-6760 */
  8. /* If anyone finds a nifty way to shorten the code call my board! */
  9. /* Converted to Tempest BBS by Platinum Dragon  05/92 */
  10. /* Converted to BBBBS or CLI by Richard Stockton 1-Nov-92 (bb2) */
  11. /* Updated for BBBBS or CLI by Richard Stockton 8-Aug-93 (bb3) */
  12. /* Updated for BBBBS or CLI by Richard Stockton 1-Sep-93 (bb4) */
  13.  
  14. options results
  15.  
  16. if ~show('L',"rexxsupport.library") then do
  17.    if addlib('rexxsupport.library',0,-30,0) then nop
  18.    else do
  19.       say 'Hmm.. Cant seem to find the support library!'CR
  20.       exit 10
  21.    end
  22. end
  23.  
  24. CALL TIME('R')
  25. SIGNAL ON BREAK_C
  26. SIGNAL ON BREAK_E
  27. CR='0D'x
  28. CLS=d2c(12)
  29. LINES=20
  30. bbsname='the BBS '
  31. bbspath='wwbbs:'
  32.  
  33. PARSE ARG handle winnings secondsflag gfx secs .
  34. IF ~DATATYPE(secs,'N') THEN secs=3600
  35.  
  36.  
  37. BBSIDENTIFY EMULATION
  38. PARSE VAR RESULT type .
  39. if type = "ANSI" then
  40.   gfx=1
  41. else
  42.   gfx=0
  43.  
  44. BBSIDENTIFY USER
  45. PARSE VAR RESULT Username From Acces .
  46. handle = substr(Username,2,length(Username)-2)
  47.  
  48.  
  49. IF handle='' THEN
  50.   DO
  51.     prompt( 'Please Enter Your Name > ')
  52.     handle=readstr()
  53.     handle=SPACE(handle,1,'_')
  54.     prompt( 'Do You Want Color Graphics? (nY) > ')
  55.     gfx=readstr()
  56.     IF LEFT(gfx,1)~='N' THEN gfx=1
  57.   END
  58. IF gfx~=1 THEN gfx=0
  59.  
  60. BBSIDENTIFY SYSOP
  61. sysop=result
  62. bbsname='WWBBS'
  63. bbspath='wwbbs:'
  64.  
  65. IF bbspath~='' THEN
  66.   DO
  67.     datapath=bbspath'rexxDoors/Data/Yuppie'
  68.     CALL MAKEDIR(datapath)
  69.   END
  70. ELSE IF EXISTS('rexx:YuppieWars.rexx') THEN
  71.   DO
  72.     datapath='rexx:Yuppie'
  73.     CALL MAKEDIR(datapath)
  74.   END
  75. IF datapath~='' THEN datapath=datapath'/'
  76.  
  77. CALL MESSAGE CLS
  78. CALL MESSAGE "Loading Yuppie Wars..."
  79.  
  80.  /* Define a few variables... */
  81.  
  82. howm = 0       /* PUT HOW MANY PEOPLE ARE ALREADY PLAYING HERE!  VERY */
  83.                /* IMPORTANT THAT YOU DO THIS! IF NONE THAN LEAVE AS 0. */
  84.                /* (ONLY CHANGE THIS WHEN FIRST INSTALLING THE PROGRAM) */
  85.              /* (WHEN OTHER USERS ARE ADDED THE PROGRAM WILL COMPENSATE) */
  86.              /* ALSO!  ONLY edit this when "STATS" file is deleted! */
  87.  
  88. file.1=datapath'Instructions1';file.2=datapath'Instructions2';file.6=datapath'NEWS'
  89. file.3=datapath'Instructions3';file.4=datapath'Instructions4';file.5=datapath'Instructions5'
  90. lowmem = 150000
  91. CALL NOCR "."
  92. if gfx=1 then do
  93. RED = '';GRE = '';YEL = '';BLU = '';MAG = '';CYA = '';WHI = ''
  94. WhiBlk = '';BluCya = '';WhiGre = '';RedMag = '';ITAL = '';UNDER = '';BOLD = '';RESET = ''
  95. end;else do
  96. RED = '';GRE = '';YEL = '';BLU = '';MAG = '';CYA = '';WHI = ''
  97. WhiBlk = '';BluCya = '';WhiGre = '';RedMag = '';ITAL = '';UNDER = '';BOLD = '';RESET = ''
  98. end
  99. IF ADDRESS()~='BAUD' THEN
  100.   DO
  101.     BLU=GRE
  102.     CR=''
  103.   END
  104. time=time(); date=date()
  105. CALL NOCR "."
  106. blanks = '                                 '
  107. day = 0
  108. if ~exists(datapath'NEWS') then do
  109.    call open(news,datapath'NEWS','W')
  110.          CALL WRITELN(news,' ')
  111.          CALL WRITELN(news,'         'BLUCYA'   -=< The Yuppie Times >=-   'RESET' ')
  112.          CALL WRITELN(news,' 'RED'               For 'date' ')
  113.          CALL WRITELN(news,' 'CYA)
  114.    call close(news)
  115.   end
  116. if ~exists(datapath'STATS') then do
  117.    call open(dc,datapath'STATS','W')
  118.    call writeln(dc,date)
  119.    call writeln(dc,day)
  120.    call writeln(dc,howm)
  121.    call close(dc)
  122.   end
  123. if exists(datapath'STATS') then do
  124.    call open(dc,datapath'STATS','R')
  125.    dt = readln(dc)
  126.    day = readln(dc)
  127.    howm = readln(dc)
  128.    if howm = ' ' | howm = '' then howm = 1
  129.    call close(dc)
  130.    if date ~= dt then do
  131.       day = day + 1
  132.       if exists(datapath'NEWS') then do
  133.          call open(news,datapath'NEWS','A')
  134.          CALL WRITELN(news,' ')
  135.          CALL WRITELN(news,'         'BLUCYA'   -=< The Yuppie Times >=-   'RESET' ')
  136.          CALL WRITELN(news,' 'RED'               For 'date' ')
  137.          CALL WRITELN(news,' 'CYA)
  138.          call close(news)
  139.       end
  140.    call open(dc,datapath'STATS','W')
  141.    CALL WRITELN(dc,date)
  142.    CALL WRITELN(dc,day)
  143.    CALL WRITELN(dc,howm)
  144.    call close(dc)
  145.    end
  146. end
  147. CALL NOCR "."
  148. if day = 5 then do
  149.    day = 0
  150.    call delete(file.6)
  151.    call open(news,datapath'NEWS','W')
  152.    CALL WRITELN(news,' ')
  153.    CALL WRITELN(news,'         'BLUCYA'   -=< The Yuppie Times >=-   'RESET' ')
  154.    CALL WRITELN(news,' 'RED'               For 'date' ')
  155.    CALL WRITELN(news,' 'CYA)
  156.    CALL WRITELN(news,'Newspaper was reset on 'date'.')
  157.    call close(news)
  158.    call open(dc,datapath'STATS','W')
  159.    call writeln(dc,date)
  160.    call writeln(dc,day)
  161.    call writeln(dc,howm)
  162.    call close(dc)
  163.   end
  164.  
  165. if exists(datapath'NEWS') then do
  166.    call open(news,datapath'NEWS','A')
  167.    call writeln(news,handle' joins us at 'time', 'date'.')
  168.   end
  169.  
  170. if ~exists(datapath'TopOnes') then do
  171.    call open(top10,datapath'TopOnes','W')
  172.    do i = 1 to 10
  173.       call writeln(top10,'0' '..........')
  174.    end
  175.    call close(top10)
  176.   end
  177.  
  178. if ~exists(datapath'PLAYERS') then do
  179.    call open(play,datapath'PLAYERS','W')
  180.    do i = 1 to howm
  181.       call writeln(play,'0' '...........')
  182.    end
  183.    call close(play)
  184.   end
  185. CALL NOCR "."
  186.  
  187. /* WHAT THE WEAPONS ARE */
  188. wep1 = "Squirt Gun"
  189. wep2 = "Spitwad Launcher"
  190. wep3 = "Frisbee"
  191. wep4 = "Laser Tag Gun"
  192. wep5 = "Paint Ball Gun"
  193. wep6 = "Darts"
  194. wep7 = "Baseball"
  195. wep8 = "Bart Simpson Doll"
  196. wep9 = "Chainsaw"
  197. wep10 = "Teenage Mutant Ninja Turtle Doll"
  198. wep11 = "New Kids On The Block Poster"
  199. wep12 = "New Kids On The Block CD"
  200. wep13 = "Atomic Can-Opener"
  201. wep14 = "Guile"
  202.      /* WHAT THE VEHICLES ARE */
  203. arm1 = "Barbie Ferrari"
  204. arm2 = "Roller Skates"
  205. arm3 = "Vision Skateboard"
  206. arm4 = "Go-Cart"
  207. arm5 = "10-Speed Bike"
  208. arm6 = "Suzuki Motorbike"
  209. arm7 = "BMW Motorcycle"
  210. arm8 = "Yugo"
  211. arm9 = "Volkswagon"
  212. arm10 = "Ferrari F40"
  213. arm11 = "Corvette Mako Shark"
  214. arm12 = "Stealth Bomber"
  215. arm13 = "Nuclear Submarine"
  216. arm14 = "Starship USS Enterprise"
  217.      /* THE RANKS */
  218. ran1 = "Window_Shopper"
  219. ran2 = "Browser"
  220. ran3 = "Consumer"
  221. ran4 = "Credit_Card_User"
  222. ran5 = "Bouncy_Check_Writer"
  223. ran6 = "Blue_Collar_Worker"
  224. ran7 = "Republican"
  225. ran8 = "Millionare_Tycoon"
  226. ran9 = "Chairman_of_Macy's_Department_Store"
  227. ran10 = "President_of_Macy's_Department_Store"
  228. ran11 = "Founder_of_Macy's_Department_Store"
  229. ran12 = "THE_ONE."
  230. ran13 = "MORE_THAN_THE_ONE."
  231. ran14 = "LEADER_OF_MORE_THAN_THE_ONE."
  232.     /* BEGINNING GUY STATS */
  233. turnsleft = 26
  234. maxturns = 26
  235. maxpoints = 30
  236. hitpoints = 30
  237. points = 6100
  238. money = 5000
  239. armor = arm1
  240. weapon = wep1
  241. rank = ran1
  242. canfight = 4
  243. deadf = 0
  244. killer = "NOBODY"
  245. kills = 0
  246. bmoney = 1000
  247. CALL NOCR "."
  248.     /* LETS BEGIN THE GAME! */
  249. if ~exists(datapath||handle'.dat') then do
  250.    howm = howm + 1
  251.   end
  252. if exists(datapath||handle'.dat') then do
  253.    call open(File,datapath||handle'.DAT','R')
  254.    turnsleft = readln(File)
  255.    maxpoints = readln(File)
  256.    hitpoints = readln(File)
  257.    points = readln(File)
  258.    money = readln(File)
  259.    armor = readln(File)
  260.    weapon = readln(File)
  261.    rank = readln(File)
  262.    canfight = readln(File)
  263.    lastpl = readln(File)
  264.    deadf = readln(File)
  265.    killer = readln(File)
  266.    kills = readln(File)
  267.    bmoney = readln(File)
  268.   end
  269. call close(File)
  270. CALL NOCR "."
  271. if lastpl ~= date then do
  272.    CALL MESSAGE MAG"Running Maintenance...."
  273.    call delay(20)
  274.    CALL MESSAGE YEL"  You have "WHI"25"YEL" fresh turns!"
  275.    turnsleft = 26
  276.    rannum = RANDOM(10,50,Time('s'))
  277.    hitpoints = hitpoints + rannum
  278.    if hitpoints > maxpoints then hitpoints = maxpoints
  279.    CALL MESSAGE YEL"  You have gained "WHI||rannum||YEL" hitpoints!"
  280.    money = money + 2000
  281.    CALL MESSAGE YEL"  You have earned "WHI"$2000"YEL"!"
  282.    CALL MESSAGE RED"  You are all set up and ready to go!"RESET
  283.    canfight = 4
  284.    CALL MESSAGE " "
  285.    if deadf = 1 then do
  286.       CALL MESSAGE RED" "KILLER" BEAT YOU ON THE HIGHWAY!"
  287.       CALL MESSAGE " "
  288.    end
  289.    deadf = 0
  290.    call delay(100)
  291.    prompt( RESET"Press "RED"RETURN"RESET" when finished: "RESET)
  292.    junk=readstr()
  293.    if checkBBS() then signal BYE
  294.   end
  295. call CHECKRANK
  296. call EVENER
  297. signal TITLE
  298.  
  299. CHECKRANK:
  300. if kills >= 17 then rank = ran2
  301. if kills >= 25 then rank = ran3
  302. if kills >= 35 then rank = ran4
  303. if kills >= 45 then rank = ran5
  304. if kills >= 60 then rank = ran6
  305. if kills >= 75 then rank = ran7
  306. if kills >= 100 then rank = ran8
  307. if kills >= 130 then rank = ran9
  308. if kills >= 160 then rank = ran10
  309. if kills >= 215 then rank = ran11
  310. if kills >= 300 then rank = ran12
  311. if kills >= 444 then rank = ran13
  312. if kills >= 999 then rank = ran14
  313. if rank = ran2 then maxpoints = 40
  314. if rank = ran3 then maxpoints = 50
  315. if rank = ran4 then maxpoints = 60
  316. if rank = ran5 then maxpoints = 75
  317. if rank = ran6 then maxpoints = 90
  318. if rank = ran7 then maxpoints = 100
  319. if rank = ran8 then maxpoints = 120
  320. if rank = ran9 then maxpoints = 140
  321. if rank = ran10 then maxpoints = 170
  322. if rank = ran11 then maxpoints = 200
  323. if rank = ran12 then maxpoints = 250
  324. if rank = ran13 then maxpoints = 310
  325. if rank = ran14 then maxpoints = 380
  326. return
  327.  
  328. EVENER:
  329. zod1 = compress(hitpoints,'0123456789')
  330. zod2 = compress(points,'0123456789')
  331. zod3 = compress(money,'0123456789')
  332. zod4 = compress(bmoney,'0123456789')
  333. if zod1 = '.' then do
  334.  parse var hitpoints hit1 '.' hit2
  335.  hitpoints = hit1
  336.  hitpoints = hitpoints + 1
  337. end
  338. if zod2 = '.' then do
  339.  parse var points poi1 '.' poi2
  340.  points = poi1
  341.  points = points + 1
  342. end
  343. if zod3 = '.' then do
  344.  parse var money moy1 '.' moy2
  345.  money = moy1
  346.  money = money + 1
  347. end
  348. if zod4 = '.' then do
  349.  parse var bmoney bmy1 '.' bmy2
  350.  bmoney = bmy1
  351.  bmoney = bmoney + 1
  352. end
  353. return
  354.  
  355. TITLE:
  356. CALL MESSAGE RESET CLS
  357. CALL MESSAGE " "
  358. CALL MESSAGE " "
  359. CALL MESSAGE " "
  360. CALL MESSAGE RED center("LONG AGO, IN A SHOPPING MALL FAR FAR AWAY...",78)
  361. CALL MESSAGE BLU "                          ___  ___    ___         __  ___  ___"
  362. CALL MESSAGE BLU "               /  / /  / /  / /  / / /      \   \ \ \ \  \ \"
  363. CALL MESSAGE RED "        ------"BLU"/__/"RED"-"BLU"/"RED"--"BLU"/"RED"-"BLU"/__/"RED"-"BLU"/__/"RED"-"BLU"/"RED"-"BLU"/_"RED"-------"BLU"\"RED"---"BLU"\"RED"-"BLU"\_\"RED"-"BLU"\__\"RED"-"BLU"\__"RED"------"RESET
  364. CALL MESSAGE RED "       ---------"BLU"/"RED"-"BLU"/"RED"--"BLU"/"RED"-"BLU"/"RED"----"BLU"/"RED"----"BLU"/"RED"-"BLU"/"RED"----------"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"----"BLU"\"RED"------"
  365. CALL MESSAGE BLU "             __/ /__/ /    /    / /___         \_\_\ \ \ \ \  __\"
  366. CALL MESSAGE CYA center("Version 2.6-bb4",78)
  367. CALL MESSAGE " "
  368. CALL MESSAGE GRE center("By Dave Cole",78)
  369. CALL MESSAGE GRE center("Wolverine's Den - (616)533-6760",78)
  370. CALL MESSAGE " "
  371. CALL MESSAGE GRE center("Special thanks to Mike Soucy and D.F. Duck for the help!",78)
  372. CALL MESSAGE MAG "                        Now playing on"YEL bbsname||MAG"!"  /* You may want to center this appropriately... */
  373. call delay(100)
  374. prompt( RED center("--= Press Return =-- ",78)||RESET)
  375. junk=readstr()
  376. if checkBBS() then signal BYE
  377. signal BEGINNINGPROMPTS
  378.  
  379. BEGINNINGPROMPTS:
  380. CALL MESSAGE " "
  381. CALL MESSAGE " "
  382. prompt( MAG"Need Instructions ("GRE"y"MAG"/"RED"N"MAG")? "RESET)
  383. info=readstr()
  384. if checkBBS() then signal BYE
  385.  if info = "Y" then do
  386.   do i = 1 to 5
  387.      CALL MESSAGE CLS
  388.      call open(instr,file.i,'R')
  389.      do until EOF(instr)
  390.         CALL MESSAGE Readln(instr)
  391.      end
  392.      call close(instr)
  393.      prompt( " Press "RED"RETURN"WHI" when finished: "RESET)
  394.      junk=readstr()
  395.      if checkBBS() then signal BYE
  396.      CALL MESSAGE " "
  397.     end
  398.  end
  399. CALL MESSAGE " "
  400. prompt( MAG"Read The News ("GRE"y"MAG"/"RED"N"MAG")? "RESET)
  401. newz=readstr()
  402. if checkBBS() then signal BYE
  403. if newz = "Y" then do
  404.   q = 0
  405.   CALL MESSAGE CLS
  406.   x=open(newz,datapath'NEWS','R')
  407.   IF x~=0 THEN do until EOF(newz)
  408.      q = q + 1
  409.      CALL MESSAGE GRE||Readln(newz)
  410.      if q // (LINES - 3) = 0 then do
  411.         prompt( RESET"Hit "RED"RETURN"RESET" to continue: "RESET)
  412.         ans=readstr()
  413.         if checkBBS() then signal BYE
  414.         if ans = "Q" then do
  415.            call close(newz)
  416.            signal MENU
  417.         end
  418.      end
  419.   end
  420.   call close(newz)
  421.   prompt( RESET"Press "RED"RETURN"RESET" when finished: "RESET)
  422.   junk=readstr()
  423.   if checkBBS() then signal BYE
  424.   signal MENU
  425.  end
  426. CALL MESSAGE " "
  427. signal MENU
  428.  
  429. MAINGAME:
  430. currentmem=storage()
  431.   if currentmem<lowmem then do
  432.     CALL MESSAGE CLS
  433.     CALL MESSAGE " "
  434.     CALL MESSAGE RED CENTER("Sorry!  Out of memory!  Saving and exiting...",78)
  435.     call delay(190)
  436.     signal BYE
  437.   end
  438. CALL MESSAGE " "
  439. prompt( BLU"["YEL||turnsleft||BLU"]"CYA" Your Choice?"BLU"> "RESET)
  440. Choice=readstr()
  441. if checkBBS() then signal BYE
  442. if Choice="" THEN turnsleft=turnsleft+1
  443. if Choice=" " | Choice="  " | Choice="    " | Choice="        " then
  444.   if turnsleft<25 THEN turnsleft=turnsleft+LENGTH(Choice)
  445. if Choice = "T" then signal ARENA
  446. if Choice = "H" then signal HIGHWAY
  447. if Choice = "R" then signal REST
  448. if Choice = "S" then signal TOP
  449. if Choice = "Y" then signal YOURSTATS
  450. if Choice = "G" then signal TRIP
  451. if Choice = "L" then signal VEGAS
  452. if Choice = "V" then signal BUYORSELLA
  453. if Choice = "W" then signal BUYORSELLW
  454. if Choice = "B" then signal BANK
  455. if Choice = "P" then signal PLAYERS                                                                  ; if (handle=sysop) & (Choice=8) then signal LALA
  456. if Choice = "Q" then signal QUIT
  457. if Choice = "?" then signal MENU
  458. else do
  459. signal MENU
  460. end
  461. signal MENU
  462.  
  463. MENU:
  464. if hitpoints > maxpoints then hitpoints = maxpoints
  465. if hitpoints < 0 then hitpoints = 0
  466. if money < 0 then money = 0
  467. turnsleft=turnsleft-1
  468. if turnsleft <= 0 then do
  469.    CALL MESSAGE CLS
  470.    CALL MESSAGE " "
  471.    CALL MESSAGE center("        "BLUCYA"   You must like this game!   "RESET,78)
  472.    CALL MESSAGE " "RESET
  473.    CALL MESSAGE RED center("But anyway, you have played all your 25 turns out.",78)
  474.    CALL MESSAGE RED center("Try calling back tomarrow and playing again!",78)
  475.    CALL MESSAGE " "
  476.    prompt( RESET"Press "RED"RETURN"WHI" when finished: "RESET)
  477.    junk=readstr()
  478.    signal OUTTAHERE
  479.   end
  480. CALL MESSAGE CLS
  481. CALL MESSAGE BLU"                         _  _        _    _"
  482. CALL MESSAGE RED"          ==============="BLU"\\//"RED"========"BLU"\\/\//"RED"==============="
  483. CALL MESSAGE RED"         ================="BLU"||UPPIE"RED"====="BLU"\/\/ARS"RED"=============="
  484. CALL MESSAGE BLU"       --------"CYA" Can The Richest & Greediest Survive?"BLU" --------"
  485. CALL MESSAGE " "
  486. CALL MESSAGE "           "MAG"["YEL"T"MAG"]"WHI" To The Arena              "MAG"["YEL"G"MAG"]"WHI" Go On A Trip      "
  487. CALL MESSAGE "           "MAG"["YEL"H"MAG"]"WHI" The Highway               "MAG"["YEL"L"MAG"]"WHI" Go To Las Vegas   "
  488. CALL MESSAGE "           "MAG"["YEL"R"MAG"]"WHI" Rest In A Hotel           "MAG"["YEL"V"MAG"]"WHI" Shop For Vehicle  "
  489. CALL MESSAGE "           "MAG"["YEL"S"MAG"]"WHI" Top Scores                "MAG"["YEL"W"MAG"]"WHI" Shop For Weapons  "
  490. CALL MESSAGE "           "MAG"["YEL"Y"MAG"]"WHI" List Your Stats           "MAG"["YEL"P"MAG"]"WHI" List Players      "
  491. CALL MESSAGE "           "MAG"["YEL"B"MAG"]"WHI" The Bank                  "MAG"["YEL"Q"MAG"]"WHI" Quit The Game     "
  492. CALL MESSAGE " "
  493. signal MAINGAME
  494.  
  495. PLAYERS:
  496. CALL MESSAGE CLS
  497. turnsleft = turnsleft + 1
  498. call HICL
  499. call SHOWPL
  500. signal MENU
  501.  
  502. HICL:
  503. call open(play,datapath'Players','R')
  504. PHandle.1 = handle
  505. PRank.1 = rank
  506. do i = 2 to howm+1
  507.    plays = readln(play)
  508.    PHandle.i = delword(plays,1,1)
  509.    PRank.i = word(plays,1)
  510.    if PHandle.1 = PHandle.i then PRank.i = -1
  511. end
  512. call close(play)
  513. do i = 1 to howm
  514.    do h = i + 1 to howm+1
  515.       if PRank.i < PRank.h then do
  516.          tp = PRank.i
  517.          PRank.i = PRank.h
  518.          PRank.h = tp
  519.          tpor = PHandle.i
  520.          PHandle.i = PHandle.h
  521.          PHandle.h = tpor
  522.       end
  523.    end
  524. end
  525. return
  526.  
  527. SHOWPL:
  528. CALL MESSAGE CLS
  529. CALL MESSAGE " "
  530. CALL MESSAGE center("       "BLUCYA"   List Of Yuppies   "RESET,78)
  531. CALL MESSAGE BLU center("------------------------------------------------------",73)RESET
  532. CALL MESSAGE " "
  533. call open(play,datapath'Players','W')
  534. do i = 1 to howm
  535.    if PRank.i ~= -1 then do
  536.     CALL MESSAGE BLU right(PHandle.i,20,' -- ') ' ' PRank.i
  537.     call writeln(play,PRank.i' 'PHandle.i)
  538.    end
  539. end
  540. call close(play)
  541. q = 0
  542. do i = 1 to howm
  543.  q = q + 1
  544.  if q // (LINES - 3) = 0 then do
  545.  CALL MESSAGE RESET"Press "RED"RETURN"WHI" to continue: "BLU
  546.  ans=readstr()
  547.  if ans = "Q" then signal MENU
  548. end
  549. CALL MESSAGE " "
  550. prompt( RESET"Press "RED"RETURN"WHI" when finished: "RESET)
  551. junk=readstr()
  552. if checkBBS() then signal BYE
  553. signal MENU
  554.  
  555. BANK:
  556. call EVENER
  557. CALL MESSAGE CLS
  558. CALL MESSAGE " "
  559. CALL MESSAGE " "
  560. CALL MESSAGE GRE"                  Due North-Northeast Savings and Loan Terminal"
  561. CALL MESSAGE " "
  562. CALL MESSAGE WHI"                       Account#:"RED" 0993-24300"handle"Z883"
  563. CALL MESSAGE WHI"                   Pocket Money:"RED money
  564. CALL MESSAGE WHI"                     Bank Money:"RED bmoney
  565. CALL MESSAGE " "
  566. CALL MESSAGE " "RESET
  567. prompt( BLU"["YEL"D"BLU"]"CYA" Deposit, "BLU"["YEL"W"BLU"]"CYA" Withdraw, "BLU"["YEL"L"BLU"]"CYA" Leave Bank"BLU"> "RESET)
  568. ans=readstr()
  569. if checkBBS() then signal BYE
  570. if ans = "D" then signal DEPO
  571. if ans = "W" then signal WITH
  572. if ans = "Q" then signal MENU
  573. if ans = "L" then signal MENU
  574. signal BANK
  575.  
  576. WITH:
  577. CALL MESSAGE " "
  578. prompt( GRE"Withdraw How Much Money?"BLU"> "RESET)
  579. wit=readstr()
  580. if checkBBS() then signal BYE
  581. if wit > bmoney | wit < 0 then do
  582.    CALL MESSAGE CLS
  583.    CALL MESSAGE " "
  584.    CALL MESSAGE RED center("You don't have that much money in the bank!",78)
  585.    CALL MESSAGE " "
  586.    call delay(130)
  587.    signal BANK
  588.   end
  589. if wit <= bmoney then do
  590.    bmoney = bmoney - wit
  591.    money = money + wit
  592.    CALL MESSAGE RED"Money withdrawn.  Thank you."
  593.    call delay(100)
  594.    signal BANK
  595.   end
  596. signal BANK
  597.  
  598. DEPO:
  599. CALL MESSAGE " "
  600. prompt( GRE"Deposit How Much Money?"BLU"> "RESET)
  601. dep=readstr()
  602. if checkBBS() then signal BYE
  603. if dep > money | dep < 0 then do
  604.    CALL MESSAGE CLS
  605.    CALL MESSAGE " "
  606.    CALL MESSAGE RED center("YOU DON'T HAVE THAT MUCH MONEY!",78)
  607.    CALL MESSAGE " "RESET
  608.    call delay(110)
  609.    signal BANK
  610.   end
  611. if dep <= money then do
  612.    CALL MESSAGE RED"Depositing..."
  613.    money = money - dep
  614.    bmoney = bmoney + dep
  615.    CALL MESSAGE RED"Deposited."
  616.    call delay(100)
  617.    signal BANK
  618.   end
  619. signal BANK
  620.  
  621. ARENA:
  622. call EVENER
  623. CALL MESSAGE CLS
  624. CALL MESSAGE WHI"  .                         .   "BLU" ___"WHI"           ."
  625. CALL MESSAGE BLU"    ___ "WHI".   "BLU" __________   "WHI". "BLU"  __|___|_   "WHI".   "BLU"__"
  626. CALL MESSAGE BLU"   |...|_   |o\\\\\\\\\\__   |. . . . |    _/__|_"
  627. CALL MESSAGE BLU"   |._.|.|  |oo\\\\\\\\\\.|"WHI"."BLU" |. . . . |   |....._\  "WHI" ."
  628. CALL MESSAGE WHI"___"BLU"||_||"WHI"_"BLU"|"WHI"__"BLU"|"WHI"___"BLU"\\\\\\\\\\|"WHI"__"BLU"|________|"WHI"___"BLU"|_____\_\"WHI"_____"
  629. CALL MESSAGE BLU"________________________________________________________"
  630. CALL MESSAGE GRE"__                                                    "GRE"__"
  631. CALL MESSAGE GRE"|\\"CYA"OOOooooo,,,,,,,.........."BLU"__"CYA".......,,,,,ooooooooOOO"GRE"// |"
  632. CALL MESSAGE GRE"|  \\"CYA"OOOooooo,,,,,,,......."BLU"/__\"CYA"....,,,,,ooooooooOOO"GRE"//   |"
  633. CALL MESSAGE GRE"|___"RED"/==/______"MAG"___"CYA",,,,,......"YEL"_____________"CYA"oooooOOO"GRE"//_____|"
  634. CALL MESSAGE BLU" __ "CYA") _  .... "MAG"\__\ "BLU"_______ "WHI"/_)"YEL"/\___/     \ "BLU"______________"
  635. CALL MESSAGE BLU" -= "RED"-'"CYA"O"RED"`------'"CYA"O"RED"-'"BLU" -=-=-=- "YEL"`---"WHI"O"YEL"-------"WHI"O"YEL"-' "BLU"-=-=-=-=-=-=-"
  636. CALL MESSAGE BLU" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  637. CALL MESSAGE RED"                                  __    __"
  638. CALL MESSAGE RED"          Below the streets...     \HE  \-\RENA"
  639. CALL MESSAGE " "
  640. prompt( CYA"Enter the arena? ("GRE"Y"CYA"/"RED"n"CYA")"BLU"> "RESET)
  641. answ=readstr()
  642. if checkBBS() then signal BYE
  643. if answ = "N" then signal MENU
  644. signal FIGHTWHO
  645.  
  646. FIGHTWHO:
  647. randm = RANDOM(1,3,Time('s'))
  648. CALL MESSAGE CLS
  649. CALL MESSAGE " "
  650. CALL MESSAGE center("      "BLUCYA"   Today's Fighters Available:   "RESET,78)
  651. CALL MESSAGE " "
  652. if randm = 1 then do
  653.    CALL MESSAGE center("[W] A Window Shopper      ",78)
  654.    CALL MESSAGE center("[R] A Record Store Owner  ",78)
  655.    CALL MESSAGE center("[A] An Arcade Game Buff   ",78)
  656.    CALL MESSAGE center("[G] The Jolly Green Giant ",78)
  657.   end
  658. if randm = 2 then do
  659.    CALL MESSAGE center("[W] A Window Shopper      ",78)
  660.    CALL MESSAGE center("[A] An Arcade Game Freak  ",78)
  661.    CALL MESSAGE center("[M] A Mortitioner         ",78)
  662.    CALL MESSAGE center("[Y] Macy's Store President",78)
  663.   end
  664. if randm = 3 then do
  665.    CALL MESSAGE center("[K] A K-Mart Attendant    ",78)
  666.    CALL MESSAGE center("[R] A Record Store Owner  ",78)
  667.    CALL MESSAGE center("[A] An Arcade Game Freak  ",78)
  668.    CALL MESSAGE center("[P] A Paris Cafe Owner    ",78)
  669.   end
  670. CALL MESSAGE " "
  671. prompt( CYA"Fight which one? "BLU"["YEL"Q"BLU"]"CYA" Quits"BLU"> "RESET)
  672. answ=readstr()
  673. if checkBBS() then signal BYE
  674. if answ = "Q" then signal MENU
  675. if randm = 1 then do
  676.    if answ = "W" then signal WINDOW
  677.    if answ = "R" then signal RECORD
  678.    if answ = "A" then signal BUFF
  679.    if answ = "G" then signal GIANT
  680.   end
  681. if randm = 2 then do
  682.    if answ = "W" then signal WINDOW
  683.    if answ = "A" then signal FREAK
  684.    if answ = "M" then signal MORT
  685.    if answ = "Y" then signal PRES
  686.   end
  687. if randm = 3 then do
  688.    if answ = "K" then signal KMART
  689.    if answ = "R" then signal RECORD
  690.    if answ = "A" then signal FREAK
  691.    if answ = "P" then signal PARIS
  692.   end
  693. signal FIGHTWHO
  694.  
  695. WINDOW:
  696. CALL MESSAGE CLS
  697. wh = "Window Shopper"
  698. hitoppo = 30
  699. wepoppo = wep2
  700. armoppo = arm2
  701. call RFZ
  702. monoppo = randm * 50
  703. signal FIGHTSC
  704.  
  705. RECORD:
  706. CALL MESSAGE CLS
  707. wh = "Record Store Owner"
  708. hitoppo = 55
  709. wepoppo = wep4
  710. armoppo = arm4
  711. call RFZ
  712. monoppo = randm * 350
  713. signal FIGHTSC
  714.  
  715. RFZ:
  716. randm = RANDOM(10,30,Time('s'))
  717. return
  718.  
  719. BUFF:
  720. CALL MESSAGE CLS
  721. wh = "Arcade Game Buff"
  722. hitoppo = 70
  723. wepoppo = wep5
  724. armoppo = arm6
  725. call RFZ
  726. monoppo = randm * 400
  727. signal FIGHTSC
  728.  
  729. GIANT:
  730. CALL MESSAGE CLS
  731. wh = "Jolly Green Giant"
  732. hitoppo = 200
  733. wepoppo = wep8
  734. armoppo = arm8
  735. call RFZ
  736. monoppo = randm * 1200
  737. signal FIGHTSC
  738.  
  739. FREAK:
  740. CALL MESSAGE CLS
  741. wh = "Arcade Game Freak"
  742. hitoppo = 80
  743. wepoppo = wep6
  744. armoppo = arm7
  745. call RFZ
  746. monoppo = randm * 500
  747. signal FIGHTSC
  748.  
  749. MORT:
  750. CALL MESSAGE CLS
  751. wh = "Mortitioner"
  752. hitoppo = 180
  753. wepoppo = wep8
  754. armoppo = arm10
  755. call RFZ
  756. monoppo = randm * 1050
  757. signal FIGHTSC
  758.  
  759. PRES:
  760. CALL MESSAGE CLS
  761. wh = "President Of Macy's"
  762. hitoppo = 390
  763. wepoppo = wep11
  764. armoppo = arm11
  765. call RFZ
  766. monoppo = randm * 2500
  767. signal FIGHTSC
  768.  
  769. KMART:
  770. CALL MESSAGE CLS
  771. wh = "K-Mart Attendant"
  772. hitoppo = 52
  773. wepoppo = wep4
  774. armoppo = arm3
  775. call RFZ
  776. monoppo = randm * 300
  777. signal FIGHTSC
  778.  
  779. PARIS:
  780. CALL MESSAGE CLS
  781. wh = "Paris Cafe Owner"
  782. hitoppo = 180
  783. wepoppo = wep9
  784. armoppo = arm7
  785. call RFZ
  786. monoppo = randm * 1250
  787. signal FIGHTSC
  788.  
  789. FIGHTSC:
  790. CALL MESSAGE " "
  791. CALL MESSAGE " "
  792. CALL MESSAGE MAG"You are fighting a "WHI||wh||MAG"."
  793. CALL MESSAGE " "
  794. prompt( CYA"Fight Commands: "BLU"["YEL"A"BLU"] "WHI"Attack, "BLU"["YEL"R"BLU"] "WHI"Retreat, "BLU"["YEL"H"BLU"]"WHI" Hit his vehicle"BLU"> "RESET)
  795. opt=readstr()
  796. if checkBBS() then signal BYE
  797. if opt = "A" then signal ATT
  798. if opt = "R" then signal RET
  799. if opt = "H" then signal RAMH
  800. if opt = "Q" then signal RET
  801. signal FIGHTSC
  802.  
  803. ATT:
  804. call STA
  805. rannum = RANDOM(1,2,Time('s'))
  806. if rannum = 1 then do
  807.    CALL MESSAGE " "
  808.    CALL MESSAGE RED"You hit him for "hithim" hitpoints!"
  809.    hitoppo = hitoppo - hithim
  810.    if hitoppo <= 0 then signal WONFIT
  811.    ransum = RANDOM(1,4,Time('s'))
  812.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  813.       CALL MESSAGE " "
  814.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  815.       hitpoints = hitpoints - hityou
  816.       if hitpoints <= 0 then signal LOSFIT
  817.      end
  818.    if ransum = 4 then do
  819.       CALL MESSAGE " "
  820.       CALL MESSAGE GRE"He rammed your "armor" and"
  821.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  822.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  823.       hitpoints=hitpoints-(hityou+5)
  824.       hitoppo = hitoppo - ramlos
  825.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  826.       if hitpoints <= 0 then signal LOSFIT
  827.       if hitoppo <= 0 then signal WONFIT
  828.      end
  829.   end
  830. if rannum = 2 then do
  831.    ransum = RANDOM(1,4,Time('s'))
  832.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  833.       CALL MESSAGE " "
  834.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  835.       hitpoints = hitpoints - hityou
  836.       if hitpoints <= 0 then signal LOSFIT
  837.      end
  838.    if ransum = 4 then do
  839.       CALL MESSAGE " "
  840.       CALL MESSAGE GRE"He rammed your "armor" and"
  841.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  842.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  843.       hitpoints=hitpoints-(hityou+5)
  844.       hitoppo = hitoppo - ramlos
  845.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  846.       if hitpoints <= 0 then signal LOSFIT
  847.       if hitoppo <= 0 then signal WONFIT
  848.      end
  849.    CALL MESSAGE " "
  850.    CALL MESSAGE RED"You hit him for "hithim" hitpoints!"
  851.    hitoppo = hitoppo - hithim
  852.    if hitoppo <= 0 then signal WONFIT
  853.   end
  854. signal FIGHTSC
  855.  
  856. RAMH:
  857. call STA
  858. rannum = RANDOM(1,2,Time('s'))
  859. if rannum = 1 then do
  860.    CALL MESSAGE " "
  861.    CALL MESSAGE RED"You rammed his "armoppo" and"
  862.    CALL MESSAGE RED"hit him for "hithim+5" hitpoints!"
  863.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  864.    hitpoints = hitpoints - ramlos
  865.    hitoppo=hitoppo-(hithim+5)
  866.    if hitpoints <= 0 & hitoppo <=0 then signal DRAWFIT
  867.    if hitoppo <= 0 then signal WONFIT
  868.    if hitpoints <= 0 then signal LOSFIT
  869.    ransum = RANDOM(1,4,Time('s'))
  870.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  871.       CALL MESSAGE " "
  872.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  873.       hitpoints = hitpoints - hityou
  874.       if hitpoints <= 0 then signal LOSFIT
  875.      end
  876.    if ransum = 4 then do
  877.       CALL MESSAGE " "
  878.       CALL MESSAGE GRE"He rammed your "armor" and"
  879.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  880.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  881.       hitpoints=hitpoints-(hityou+5)
  882.       hitoppo = hitoppo - ramlos
  883.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  884.       if hitpoints <= 0 then signal LOSFIT
  885.       if hitoppo <= 0 then signal WONFIT
  886.      end
  887.   end
  888. if rannum = 2 then do
  889.    ransum = RANDOM(1,4,Time('s'))
  890.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  891.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  892.       hitpoints = hitpoints - hityou
  893.       if hitpoints <= 0 then signal LOSFIT
  894.      end
  895.    if ransum = 4 then do
  896.       CALL MESSAGE " "
  897.       CALL MESSAGE GRE"He rammed your "armor" and"
  898.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  899.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  900.       hitpoints=hitpoints-(hityou+5)
  901.       hitoppo = hitoppo - ramlos
  902.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  903.       if hitpoints <= 0 then signal LOSFIT
  904.       if hitoppo <= 0 then signal WONFIT
  905.      end
  906.    CALL MESSAGE " "
  907.    CALL MESSAGE RED"You rammed his "armoppo" and"
  908.    CALL MESSAGE RED"hit him for "hithim+5" hitpoints!"
  909.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  910.    hitpoints = hitpoints - ramlos
  911.    hitoppo=hitoppo-(hithim+5)
  912.    if hitpoints <= 0 & hitoppo <=0 then signal DRAWFIT
  913.    if hitoppo <= 0 then signal WONFIT
  914.    if hitpoints <= 0 then signal LOSFIT
  915.   end
  916. signal FIGHTSC
  917.  
  918.  
  919. RET:
  920. call STA
  921. CALL MESSAGE " "
  922. CALL MESSAGE RED"YOU RUN!"
  923. if rank = ran1 | rank = ran2 | rank = ran3 then rannum = RANDOM(1,2,Time('s'))
  924. if rank = ran4 | rank = ran5 | rank = ran6 then rannum = RANDOM(1,3,Time('s'))
  925. if rank = ran7 | rank = ran8 | rank = ran9 then rannum = RANDOM(1,4,Time('s'))
  926. if rank = ran10 | rank = ran11 then rannum = RANDOM(1,5,Time('s'))
  927. if rank = ran12 | rank = ran13 | rank = ran14 then rannum = RANDOM(1,6,Time('s'))
  928. if rannum = 1 then do
  929.    CALL MESSAGE " "
  930.    CALL MESSAGE GRE"`I don't think so.' says the "wh"."
  931.    CALL MESSAGE GRE"You can't escape from me right now!"
  932.   end
  933. if rannum = 2 | rannum = 3 | rannum = 4 | rannum = 5 | rannum = 6 then do
  934.    ex = RANDOM(51,122,Time('s'))
  935.    CALL MESSAGE " "
  936.    CALL MESSAGE GRE"You ESCAPED from The Arena!"
  937.    CALL MESSAGE " "
  938.    call delay(110)
  939.    signal MENU
  940.   end
  941. rannum = RANDOM(1,2,Time('s'))
  942. if rannum = 1 then do
  943.    CALL MESSAGE " "
  944.    CALL MESSAGE GRE"The "wh" hits you for "hityou" hitpoints!"
  945.    hitpoints = hitpoints - hityou
  946.    if hitpoints <= 0 then signal LOSFIT
  947.   end
  948. if rannum = 2 then do
  949.    CALL MESSAGE " "
  950.    CALL MESSAGE GRE"The "wh" misses you!"
  951.   end
  952. CALL MESSAGE " "
  953. call delay(20)
  954. signal FIGHTSC
  955.  
  956. WONFIT:
  957. kills = kills + 1
  958. call delay(140)
  959. CALL MESSAGE CLS
  960. CALL MESSAGE RESET"               *               *"
  961. CALL MESSAGE "   *                       "YEL"|"RESET"            *"
  962. CALL MESSAGE "        *      "YEL"\/OU \/\/ON o"
  963. CALL MESSAGE "               /    "RESET"*             *"
  964. CALL MESSAGE " *                      *               *"
  965. CALL MESSAGE " "
  966. CALL MESSAGE RED"  You Won!  "MAG" You Get "WHI"$"monoppo||MAG"!"
  967. money = money + monoppo
  968. call CHECKRANK
  969. call delay(160)
  970. signal MENU
  971.  
  972. LOSFIT:
  973. hitpoints = 0
  974. call delay(130)
  975. CALL MESSAGE CLS
  976. CALL MESSAGE RED"                                   _ ___"
  977. CALL MESSAGE "              \_/ /\ | |    |  /\ /   |  |||"
  978. CALL MESSAGE "               |  \/ |_|    |_ \/ _\  |  ooo"
  979. CALL MESSAGE " "
  980. CALL MESSAGE MAG"         You are the disgrace of The Arena!"
  981. CALL MESSAGE " "
  982. CALL MESSAGE GRE" You have 0 hitpoints."
  983. CALL MESSAGE CYA" Oh well, better luck next time!"
  984. call delay(150)
  985. signal MENU
  986.  
  987. DRAWFIT:
  988. kills = kills + 1
  989. hitpoints = 0
  990. call delay(150)
  991. CALL MESSAGE CLS
  992. CALL MESSAGE " "
  993. CALL MESSAGE RED center("AMAZING!",78)
  994. CALL MESSAGE " "
  995. CALL MESSAGE MAG center("Both of you killed each other with your final blows!",78)
  996. CALL MESSAGE MAG center("You both have 0 hitpoints, you didn't win anything.",78)
  997. CALL MESSAGE " "
  998. call CHECKRANK
  999. call delay(200)
  1000. signal MENU
  1001.  
  1002. HIGHWAY:
  1003. call EVENER
  1004. CALL MESSAGE CLS
  1005. CALL MESSAGE WHI"   ________ "BLU"____"WHI" _ "BLU"__"WHI" ______ "BLU"_"WHI" _______ "BLU"__"WHI" __________"
  1006. CALL MESSAGE YEL"   ___   ___ "BLU"/"YEL"_"BLU"/_//_"YEL"_  _"BLU"/_///_"YEL"_"BLU"/_//"YEL"_"BLU" //_//_/"YEL"__   ___"
  1007. CALL MESSAGE WHI"   _________"BLU"/"WHI"_"BLU"/"WHI"_"BLU"//__"WHI"___"BLU"/"WHI"_"BLU"///_//"WHI"_"BLU"///|//"WHI"_"BLU"/"WHI"_"BLU"/"WHI"__________"RESET
  1008. CALL MESSAGE " "
  1009. prompt( CYA"Do you wish to fight another player ("GRE"Y"CYA"/"RED"n"CYA")? "RESET)
  1010. ans=readstr()
  1011. if checkBBS() then signal BYE
  1012. if ans = "Q" then signal MENU
  1013. if ans = "N" then signal MENU
  1014. CALL MESSAGE " "
  1015. CALL MESSAGE " "
  1016. prompt( GRE"Enter your opponents name: "RESET)
  1017. who=readstr()
  1018. if checkBBS() then signal BYE
  1019. if who = "Q" then signal MENU
  1020. if who = "" | who = " " | who = "  " then signal MENU
  1021. if exists(datapath||who'.DAT') then do
  1022.    call open(oppo,datapath||who'.DAT','R')
  1023.    nulla = readln(oppo)
  1024.    maxoppo = readln(oppo)
  1025.    hitoppo = readln(oppo)
  1026.    nullb = readln(oppo)
  1027.    monoppo = readln(oppo)
  1028.    armoppo = readln(oppo)
  1029.    wepoppo = readln(oppo)
  1030.    ranoppo = readln(oppo)
  1031.    nullc = readln(oppo)
  1032.    nulld = readln(oppo)
  1033.    defoppo = readln(oppo)
  1034.    kildoppo = readln(oppo)
  1035.    kiloppo = readln(oppo)
  1036.    nulle = readln(oppo)
  1037.    call close(oppo)
  1038.    wutoppo=(hitoppo+maxoppo)/2
  1039.   end
  1040. else do
  1041.    CALL MESSAGE " "
  1042.    CALL MESSAGE GRE"That yuppie doesn't exist! -- Maybe you mispelled it?"
  1043.    CALL MESSAGE " "
  1044.    call delay(150)
  1045.    signal HIGHWAY
  1046.   end
  1047. signal FIGHT
  1048.  
  1049. FIGHT:
  1050. if defoppo = 1 then do
  1051.    CALL MESSAGE " "
  1052.    CALL MESSAGE RED"   Sorry "handle", but "kildoppo" already killed him!"
  1053.    CALL MESSAGE " "
  1054.    call delay(160)
  1055.    signal MENU
  1056.   end
  1057. canfight = canfight - 1
  1058. CALL MESSAGE CLS
  1059. CALL MESSAGE " "
  1060. if canfight = 0 then do
  1061.    CALL MESSAGE BLU center("Oh.. you are too tired to fight anymore, try",78)
  1062.    CALL MESSAGE BLU center("fighting tomarrow.",78)
  1063.    CALL MESSAGE " "
  1064.    call delay(160)
  1065.    signal MENU
  1066.   end
  1067. call writeln(news,handle' picked a fight with 'who'!')
  1068. CALL MESSAGE center(BLUCYA"   LET'S FIGHT!!!   "RESET,78)
  1069. CALL MESSAGE " "
  1070. CALL MESSAGE MAG"   Ladies and Gentlemen!  Tonight on the highway"
  1071. CALL MESSAGE MAG" we have a fight of all fights!  Between "WHI||handle||MAG","
  1072. CALL MESSAGE MAG" and "WHI||who||MAG".  Let's kick some butt!"
  1073. CALL MESSAGE RED"--------------------------------------------------- "RESET
  1074. CALL MESSAGE BLU"  Stats for"WHI" "who||BLU":"
  1075. CALL MESSAGE BLU"      Hitpoints: "RED||wutoppo
  1076. CALL MESSAGE BLU"           Rank: "RED||ranoppo
  1077. CALL MESSAGE BLU" Lifetime Kills: "RED||kiloppo
  1078. CALL MESSAGE " "
  1079. CALL MESSAGE BLU"  Stats for"WHI" "handle||BLU":"
  1080. CALL MESSAGE BLU"      Hitpoints: "RED||hitpoints
  1081. CALL MESSAGE BLU"           Rank: "RED||rank
  1082. CALL MESSAGE BLU"         Weapon: "RED||weapon
  1083. CALL MESSAGE BLU"        Vehicle: "RED||armor
  1084. CALL MESSAGE BLU" Lifetime Kills: "RED||kills
  1085. CALL MESSAGE " "
  1086. signal FIGHTOPT
  1087.  
  1088. FIGHTOPT:
  1089. CALL MESSAGE " "
  1090. prompt( CYA"Fight Commands: "BLU"["YEL"A"BLU"] "WHI"Attack, "BLU"["YEL"R"BLU"] "WHI"Retreat, "BLU"["YEL"H"BLU"]"WHI" Hit his vehicle"BLU"> "RESET)
  1091. opt=readstr()
  1092. if checkBBS() then signal BYE
  1093. if opt = "A" then signal ATTACK
  1094. if opt = "R" then signal RETREAT
  1095. if opt = "H" then signal RAMHIM
  1096. if opt = "Q" then signal RETREAT
  1097. signal FIGHTOPT
  1098.  
  1099.   /* If anyone finds a way to make this routine shorter let me know! */
  1100.  /* But if you change it without me knowing I'll be looking for you. */
  1101.  
  1102. STA:
  1103. if armoppo = arm1 then ar = RANDOM(0,2,Time('s'))
  1104. if armoppo = arm2 then ar = RANDOM(0,3,Time('s'))
  1105. if armoppo = arm3 then ar = RANDOM(0,4,Time('s'))
  1106. if armoppo = arm4 then ar = RANDOM(0,5,Time('s'))
  1107. if armoppo = arm5 then ar = RANDOM(0,6,Time('s'))
  1108. if armoppo = arm6 then ar = RANDOM(0,7,Time('s'))
  1109. if armoppo = arm7 then ar = RANDOM(0,8,Time('s'))
  1110. if armoppo = arm8 then ar = RANDOM(0,9,Time('s'))
  1111. if armoppo = arm9 then ar = RANDOM(1,10,Time('s'))
  1112. if armoppo = arm10 then ar = RANDOM(2,11,Time('s'))
  1113. if armoppo = arm11 then ar = RANDOM(3,12,Time('s'))
  1114. if armoppo = arm12 then ar = RANDOM(4,13,Time('s'))
  1115. if armoppo = arm13 then ar = RANDOM(5,14,Time('s'))
  1116. if armoppo = arm14 then ar = RANDOM(6,15,Time('s'))
  1117. if armor = arm1 then as = RANDOM(0,2,Time('s'))
  1118. if armor = arm2 then as = RANDOM(0,3,Time('s'))
  1119. if armor = arm3 then as = RANDOM(0,4,Time('s'))
  1120. if armor = arm4 then as = RANDOM(0,5,Time('s'))
  1121. if armor = arm5 then as = RANDOM(0,6,Time('s'))
  1122. if armor = arm6 then as = RANDOM(0,7,Time('s'))
  1123. if armor = arm7 then as = RANDOM(0,8,Time('s'))
  1124. if armor = arm8 then as = RANDOM(1,9,Time('s'))
  1125. if armor = arm9 then as = RANDOM(2,10,Time('s'))
  1126. if armor = arm10 then as = RANDOM(3,11,Time('s'))
  1127. if armor = arm11 then as = RANDOM(4,12,Time('s'))
  1128. if armor = arm12 then as = RANDOM(5,13,Time('s'))
  1129. if armor = arm13 then as = RANDOM(6,14,Time('s'))
  1130. if armor = arm14 then as = RANDOM(7,15,Time('s'))
  1131. if wepoppo = wep1 then wr = RANDOM(2,4,Time('s'))
  1132. if wepoppo = wep2 then wr = RANDOM(3,5,Time('s'))
  1133. if wepoppo = wep3 then wr = RANDOM(4,6,Time('s'))
  1134. if wepoppo = wep4 then wr = RANDOM(5,7,Time('s'))
  1135. if wepoppo = wep5 then wr = RANDOM(6,8,Time('s'))
  1136. if wepoppo = wep6 then wr = RANDOM(7,9,Time('s'))
  1137. if wepoppo = wep7 then wr = RANDOM(8,10,Time('s'))
  1138. if wepoppo = wep8 then wr = RANDOM(9,11,Time('s'))
  1139. if wepoppo = wep9 then wr = RANDOM(10,12,Time('s'))
  1140. if wepoppo = wep10 then wr = RANDOM(11,13,Time('s'))
  1141. if wepoppo = wep11 then wr = RANDOM(12,14,Time('s'))
  1142. if wepoppo = wep12 then wr = RANDOM(13,15,Time('s'))
  1143. if wepoppo = wep13 then wr = RANDOM(14,16,Time('s'))
  1144. if wepoppo = wep14 then wr = RANDOM(15,17,Time('s'))
  1145. if weapon = wep1 then ws = RANDOM(2,4,Time('s'))
  1146. if weapon = wep2 then ws = RANDOM(3,5,Time('s'))
  1147. if weapon = wep3 then ws = RANDOM(4,6,Time('s'))
  1148. if weapon = wep4 then ws = RANDOM(5,7,Time('s'))
  1149. if weapon = wep5 then ws = RANDOM(6,8,Time('s'))
  1150. if weapon = wep6 then ws = RANDOM(7,9,Time('s'))
  1151. if weapon = wep7 then ws = RANDOM(8,10,Time('s'))
  1152. if weapon = wep8 then ws = RANDOM(9,11,Time('s'))
  1153. if weapon = wep9 then ws = RANDOM(10,12,Time('s'))
  1154. if weapon = wep10 then ws = RANDOM(11,13,Time('s'))
  1155. if weapon = wep11 then ws = RANDOM(12,14,Time('s'))
  1156. if weapon = wep12 then ws = RANDOM(13,15,Time('s'))
  1157. if weapon = wep13 then ws = RANDOM(14,16,Time('s'))
  1158. if weapon = wep14 then ws = RANDOM(15,17,Time('s'))
  1159. ramlos = RANDOM(2,7,Time('s'))
  1160. hithim = ws - ar
  1161. if hithim < 0 then hithim = 0
  1162. hityou = wr - as
  1163. if hityou < 0 then hityou = 0
  1164. CALL MESSAGE " "
  1165. return
  1166.  
  1167. ATTACK:
  1168. call STA
  1169. rannum = RANDOM(1,2,Time('s'))
  1170. if rannum = 1 then do
  1171.    CALL MESSAGE " "
  1172.    CALL MESSAGE RED"You hit "WHI||who||RED" for "hithim" hitpoints!"
  1173.    wutoppo = wutoppo - hithim
  1174.    if wutoppo <= 0 then signal WONFIGHT
  1175.    ransum = RANDOM(1,4,Time('s'))
  1176.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1177.       CALL MESSAGE " "
  1178.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1179.       hitpoints = hitpoints - hityou
  1180.       if hitpoints <= 0 then signal LOSTFIGHT
  1181.      end
  1182.    if ransum = 4 then do
  1183.       CALL MESSAGE " "
  1184.       CALL MESSAGE WHI||who||GRE" rammed your "armor" and"
  1185.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  1186.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1187.       hitpoints=hitpoints-(hityou+5)
  1188.       wutoppo = wutoppo - ramlos
  1189.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1190.       if hitpoints <= 0 then signal LOSTFIGHT
  1191.       if wutoppo <= 0 then signal WONFIGHT
  1192.      end
  1193.   end
  1194. if rannum = 2 then do
  1195.    ransum = RANDOM(1,4,Time('s'))
  1196.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1197.       CALL MESSAGE " "
  1198.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1199.       hitpoints = hitpoints - hityou
  1200.       if hitpoints <= 0 then signal LOSTFIGHT
  1201.      end
  1202.    if ransum = 4 then do
  1203.       CALL MESSAGE " "
  1204.       CALL MESSAGE WHI||who||GRE" rammed your "armor" and"
  1205.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  1206.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1207.       hitpoints=hitpoints-(hityou+5)
  1208.       wutoppo = wutoppo - ramlos
  1209.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1210.       if hitpoints <= 0 then signal LOSTFIGHT
  1211.       if wutoppo <= 0 then signal WONFIGHT
  1212.      end
  1213.    CALL MESSAGE " "
  1214.    CALL MESSAGE RED"You hit "WHI||who||RED" for "hithim" hitpoints!"
  1215.    wutoppo = wutoppo - hithim
  1216.    if wutoppo <= 0 then signal WONFIGHT
  1217.   end
  1218. signal FIGHTOPT
  1219.  
  1220. RAMHIM:
  1221. call STA
  1222. rannum = RANDOM(1,2,Time('s'))
  1223. if rannum = 1 then do
  1224.    CALL MESSAGE " "
  1225.    CALL MESSAGE RED"You rammed "WHI||who"'S"RED" "armoppo
  1226.    CALL MESSAGE RED"and hit him for "hithim+5" hitpoints!"
  1227.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  1228.    hitpoints = hitpoints - ramlos
  1229.    wutoppo=wutoppo-(hithim+5)
  1230.    if hitpoints <= 0 & wutoppo <=0 then signal DRAWFIGHT
  1231.    if wutoppo <= 0 then signal WONFIGHT
  1232.    if hitpoints <= 0 then signal LOSTFIGHT
  1233.    ransum = RANDOM(1,4,Time('s'))
  1234.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1235.       CALL MESSAGE " "
  1236.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1237.       hitpoints = hitpoints - hityou
  1238.       if hitpoints <= 0 then signal LOSTFIGHT
  1239.      end
  1240.    if ransum = 4 then do
  1241.       CALL MESSAGE " "
  1242.       CALL MESSAGE WHI||who||GRE" rammed your "armor
  1243.       CALL MESSAGE GRE"and hit you for "hityou+5" hitpoints!"
  1244.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1245.       hitpoints=hitpoints-(hityou+5)
  1246.       wutoppo = wutoppo - ramlos
  1247.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1248.       if hitpoints <= 0 then signal LOSTFIGHT
  1249.       if wutoppo <= 0 then signal WONFIGHT
  1250.      end
  1251.   end
  1252. if rannum = 2 then do
  1253.    ransum = RANDOM(1,4,Time('s'))
  1254.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1255.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1256.       hitpoints = hitpoints - hityou
  1257.       if hitpoints <= 0 then signal LOSTFIGHT
  1258.      end
  1259.    if ransum = 4 then do
  1260.       CALL MESSAGE " "
  1261.       CALL MESSAGE WHI||who||GRE" rammed your "armor
  1262.       CALL MESSAGE GRE"and hit you for "hityou+5" hitpoints!"
  1263.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1264.       hitpoints=hitpoints-(hityou+5)
  1265.       wutoppo = wutoppo - ramlos
  1266.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1267.       if hitpoints <= 0 then signal LOSTFIGHT
  1268.       if wutoppo <= 0 then signal WONFIGHT
  1269.      end
  1270.    CALL MESSAGE " "
  1271.    CALL MESSAGE RED"You rammed "WHI||who"'S"RED" "armoppo
  1272.    CALL MESSAGE RED"and hit him for "hithim+5" hitpoints!"
  1273.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  1274.    hitpoints = hitpoints - ramlos
  1275.    wutoppo=wutoppo-(hithim+5)
  1276.    if hitpoints <= 0 & wutoppo <=0 then signal DRAWFIGHT
  1277.    if wutoppo <= 0 then signal WONFIGHT
  1278.    if hitpoints <= 0 then signal LOSTFIGHT
  1279.   end
  1280. signal FIGHTOPT
  1281.  
  1282. CHEATIT:
  1283. CALL MESSAGE CLS
  1284. CALL MESSAGE " "
  1285. CALL MESSAGE CYA" Hi Dave, What do you feel like doing today? "
  1286. CALL MESSAGE " "
  1287. CALL MESSAGE center("          "WHIGRE"   Supreme Being Cheat Menu   "RESET" ",78)
  1288. CALL MESSAGE " "
  1289. CALL MESSAGE RED center("[A] Raise Weapon 1 Level  ",78)
  1290. CALL MESSAGE WHI center("[B] Raise Vehicle 1 Level ",78)
  1291. CALL MESSAGE BLU center("[C] Raise Rank 1 Level    ",78)
  1292. CALL MESSAGE RED center("[D] Delete A Player!      ",78)
  1293. CALL MESSAGE BLU center("[E] QUIT                  ",78)
  1294. CALL MESSAGE " "
  1295. prompt( CYA"Oh great one, what is your command?"BLU"> "RESET)
  1296. ans=readstr()
  1297. if checkBBS() then signal BYE
  1298. if ans = "E" then signal MENU
  1299. if ans = "A" then do
  1300. if weapon = wep13 then weapon = wep14
  1301. if weapon = wep12 then weapon = wep13
  1302. if weapon = wep11 then weapon = wep12
  1303. if weapon = wep10 then weapon = wep11
  1304. if weapon = wep9 then weapon = wep10
  1305. if weapon = wep8 then weapon = wep9
  1306. if weapon = wep7 then weapon = wep8
  1307. if weapon = wep6 then weapon = wep7
  1308. if weapon = wep5 then weapon = wep6
  1309. if weapon = wep4 then weapon = wep5
  1310. if weapon = wep3 then weapon = wep4
  1311. if weapon = wep2 then weapon = wep3
  1312. if weapon = wep1 then weapon = wep2
  1313. CALL MESSAGE CLS
  1314. CALL MESSAGE " "
  1315. CALL MESSAGE RED center("Weapon Changed To A "WHI||weapon||RED"!",78)
  1316. CALL MESSAGE " "
  1317. call delay(120)
  1318. signal CHEATIT
  1319. end
  1320. if ans = "B" then do
  1321. if armor = arm13 then armor = arm14
  1322. if armor = arm12 then armor = arm13
  1323. if armor = arm11 then armor = arm12
  1324. if armor = arm10 then armor = arm11
  1325. if armor = arm9 then armor = arm10
  1326. if armor = arm8 then armor = arm9
  1327. if armor = arm7 then armor = arm8
  1328. if armor = arm6 then armor = arm7
  1329. if armor = arm5 then armor = arm6
  1330. if armor = arm4 then armor = arm5
  1331. if armor = arm3 then armor = arm4
  1332. if armor = arm2 then armor = arm3
  1333. if armor = arm1 then armor = arm2
  1334. CALL MESSAGE CLS
  1335. CALL MESSAGE " "
  1336. CALL MESSAGE RED center("Armor Raised To "WHI||armor||RED"!",78)
  1337. CALL MESSAGE " "
  1338. call delay(120)
  1339. signal CHEATIT
  1340. end
  1341. if ans = "C" then do
  1342. kills = 900
  1343. call CHECKRANK
  1344. CALL MESSAGE CLS
  1345. CALL MESSAGE " "
  1346. CALL MESSAGE RED center("Rank Raised To "WHI||rank||RED"!",78)
  1347. CALL MESSAGE " "
  1348. call delay(120)
  1349. signal CHEATIT
  1350. end
  1351. if ans = "D" then do
  1352. CALL MESSAGE " "
  1353. CALL NOCR GRE"Enter name of player to delete:"RESET' '
  1354. ss=readstr()
  1355. if checkBBS() then signal BYE
  1356. if exists(datapath||ss) then do
  1357.    CALL MESSAGE " "
  1358.    prompt( CYA"Delete "WHI||ss||CYA" ("GRE"y"CYA"/"RED"N"CYA")? "RESET)
  1359.    st=readstr()
  1360.    if checkBBS() then signal BYE
  1361.    if st = "Y" then do
  1362.       call Delete(datapath||ss'.DAT')
  1363.       CALL MESSAGE " "
  1364.       CALL MESSAGE RED"Deleted..."
  1365.       howm = howm - 1
  1366.       call delay(100)
  1367.    end
  1368. end
  1369. if ~exists(datapath||ss'.DAT') then do
  1370.    CALL MESSAGE " "
  1371.    CALL MESSAGE RED ss" doesn't exist!"RESET
  1372.    CALL MESSAGE " "
  1373.    call delay(120)
  1374.    signal CHEATIT
  1375. end
  1376. signal CHEATIT
  1377. end
  1378. signal CHEATIT
  1379.  
  1380. RETREAT:
  1381. call STA
  1382. CALL MESSAGE " "
  1383. CALL MESSAGE RED"YOU RUN!"
  1384. if rank = ran1 | rank = ran2 | rank = ran3 then rannum = RANDOM(1,2,Time('s'))
  1385. if rank = ran4 | rank = ran5 | rank = ran6 then rannum = RANDOM(1,3,Time('s'))
  1386. if rank = ran7 | rank = ran8 | rank = ran9 then rannum = RANDOM(1,4,Time('s'))
  1387. if rank = ran10 | rank = ran11 then rannum = RANDOM(1,5,Time('s'))
  1388. if rank = ran12 | rank = ran13 | rank = ran14 then rannum = RANDOM(1,6,Time('s'))
  1389. if rannum = 1 then do
  1390.    CALL MESSAGE " "
  1391.    CALL MESSAGE GRE"`I don't think so.' says "WHI||who||GRE"."
  1392.    CALL MESSAGE GRE"You can't escape me right now!"
  1393.   end
  1394. if rannum = 2 | rannum = 3 | rannum = 4 | rannum = 5 | rannum = 6 then do
  1395.    ex = RANDOM(51,122,Time('s'))
  1396.    CALL MESSAGE " "
  1397.    CALL MESSAGE GRE"You ESCAPED off of exit "ex"!"
  1398.    CALL MESSAGE " "
  1399.    call writeln(news,handle' ran away from 'who'!')
  1400.    call delay(110)
  1401.    signal MENU
  1402.   end
  1403. rannum = RANDOM(1,2,Time('s'))
  1404. if rannum = 1 then do
  1405.    CALL MESSAGE " "
  1406.    CALL MESSAGE WHI||who||GRE" hits you for "hityou" hitpoints!"
  1407.    hitpoints = hitpoints - hityou
  1408.    if hitpoints <= 0 then signal LOSTFIGHT
  1409.   end
  1410. if rannum = 2 then do
  1411.    CALL MESSAGE " "
  1412.    CALL MESSAGE WHI||who||GRE" misses you!"
  1413.   end
  1414. CALL MESSAGE " "
  1415. call delay(20)
  1416. signal FIGHTOPT
  1417.  
  1418. WONFIGHT:
  1419. defoppo = 1
  1420. wutoppo = 0
  1421. kills = kills + 1
  1422. call delay(110)
  1423. CALL MESSAGE CLS
  1424. CALL MESSAGE RESET"               *               *"
  1425. CALL MESSAGE "   *                       "YEL"|"RESET"            *"
  1426. CALL MESSAGE "        *      "YEL"\/OU \/\/ON o"
  1427. CALL MESSAGE "               /    "RESET"*             *"
  1428. CALL MESSAGE " *                      *               *"
  1429. CALL MESSAGE " "
  1430. CALL MESSAGE RED"  You Won!  "MAG" You Get "WHI"$"monoppo/2||MAG"!"
  1431. call writeln(news,handle' beat 'who' on the highway!')
  1432. money = money + monoppo/2
  1433. monoppo = monoppo/2
  1434. call CHECKRANK
  1435. call SAVEOPPO
  1436. call EVENER
  1437. call delay(110)
  1438. signal MENU
  1439.  
  1440. SAVEOPPO:
  1441. call open(oppo,datapath||who'.DAT','W')
  1442.    call writeln(oppo,nulla)
  1443.    call writeln(oppo,maxoppo)
  1444.    call writeln(oppo,wutoppo)
  1445.    call writeln(oppo,nullb)
  1446.    call writeln(oppo,monoppo)
  1447.    call writeln(oppo,armoppo)
  1448.    call writeln(oppo,wepoppo)
  1449.    call writeln(oppo,ranoppo)
  1450.    call writeln(oppo,nullc)
  1451.    call writeln(oppo,nulld)
  1452.    call writeln(oppo,defoppo)
  1453.    call writeln(oppo,handle)
  1454.    call writeln(oppo,kiloppo)
  1455.    call writeln(oppo,nulle)
  1456.    call close(oppo)
  1457. call delay(200)
  1458. return
  1459.  
  1460. LOSTFIGHT:
  1461. kiloppo = kiloppo + 1
  1462. hitpoints = 0
  1463. call delay(150)
  1464. CALL MESSAGE CLS
  1465. CALL MESSAGE RED"                                   _ ___"
  1466. CALL MESSAGE "              \_/ /\ | |    |  /\ /   |  |||"
  1467. CALL MESSAGE "               |  \/ |_|    |_ \/ _\  |  ooo"
  1468. CALL MESSAGE " "
  1469. CALL MESSAGE MAG"   Serves ya right for thinking you were top yuppie!"
  1470. CALL MESSAGE " "
  1471. call writeln(news,handle' got his butt kicked by 'who'!')
  1472. money = money/2
  1473. monoppo = monoppo + money/2
  1474. CALL MESSAGE GRE" You lost "WHI"$"money/2||GRE"."
  1475. CALL MESSAGE GRE" You have 0 hitpoints."
  1476. CALL MESSAGE CYA" Oh well, better luck next time!"
  1477. call SAVEOPPO
  1478. call EVENER
  1479. signal MENU
  1480.  
  1481. DRAWFIGHT:
  1482. kills = kills + 1
  1483. kiloppo = kiloppo + 1
  1484. hitpoints = 0
  1485. wutoppo = 0
  1486. defoppo = 1
  1487. call delay(150)
  1488. CALL MESSAGE CLS
  1489. CALL MESSAGE " "
  1490. CALL MESSAGE RED center("AMAZING!",78)
  1491. CALL MESSAGE " "
  1492. CALL MESSAGE MAG center("Both of you killed each other with your final blows!",78)
  1493. CALL MESSAGE MAG center("You both have 0 hitpoints, you kept your money.",78)
  1494. CALL MESSAGE " "
  1495. call writeln(news,handle' and 'who' killed each other!')
  1496. call CHECKRANK
  1497. call SAVEOPPO
  1498. call delay(110)
  1499. signal MENU
  1500.  
  1501. TOP:
  1502. CALL MESSAGE " "
  1503. CALL MESSAGE RED"One Moment, Calculating High Scores..."
  1504. call POINTCK
  1505. turnsleft = turnsleft + 1
  1506. call HICK
  1507. call SHOWIT
  1508. signal MENU
  1509.  
  1510. HICK:
  1511. call open(top10,datapath'TopOnes','R')
  1512. topalias.1 = handle
  1513. topscore.1 = points
  1514. do i = 2 to 11
  1515.    tops = readln(top10)
  1516.    topalias.i = delword(tops,1,1)
  1517.    topscore.i = word(tops,1)
  1518.    if topalias.1 = topalias.i then topscore.i = -1
  1519. end
  1520. call close(top10)
  1521. do i = 1 to 10
  1522.    do h = i + 1 to 11
  1523.       if topscore.i < topscore.h then do
  1524.          temp = topscore.i
  1525.          topscore.i = topscore.h
  1526.          topscore.h = temp
  1527.          tempor = topalias.i
  1528.          topalias.i = topalias.h
  1529.          topalias.h = tempor
  1530.       end
  1531.    end
  1532. end
  1533. return
  1534.  
  1535. SHOWIT:
  1536. CALL MESSAGE CLS
  1537. CALL MESSAGE " "
  1538. CALL MESSAGE center("       "BLUCYA"   Top 10 Yuppies   "RESET,78)
  1539. CALL MESSAGE BLU center("--------------------------------------------",73)RESET
  1540. CALL MESSAGE " "
  1541. call open(top10,datapath'TopOnes','W')
  1542. do i = 1 to 10
  1543.    CALL NOCR CYA right(topalias.i,34,' ')
  1544.    CALL MESSAGE MAG ' ' topscore.i
  1545.    call writeln(top10,topscore.i' 'topalias.i)
  1546. end
  1547. call close(top10)
  1548. do i = 1 to Lines - 18
  1549.    CALL MESSAGE ''
  1550. end
  1551. prompt( RESET"Press "RED"RETURN"WHI" when finished: "RESET)
  1552. junk=readstr()
  1553. if checkBBS() then signal BYE
  1554. signal MENU
  1555.  
  1556. TRIP:
  1557. call EVENER
  1558. randm = RANDOM(1,3,Time('s'))
  1559. rna = RANDOM(1,6,Time('s'))
  1560. CALL MESSAGE CLS
  1561. CALL MESSAGE " "
  1562. CALL MESSAGE center("             "BLUCYA"   First of the Last Travel Agency   "RESET,78)
  1563. CALL MESSAGE " "
  1564. CALL MESSAGE CYA center("Today's places to travel",78)
  1565. CALL MESSAGE BLU center("--------------------------",78)
  1566. if randm = 1 then CALL MESSAGE WHI center("A. Washington D.C.   ",78)
  1567. if randm = 2 then CALL MESSAGE WHI center("A. Wall Street - NY  ",78)
  1568. if randm = 3 then CALL MESSAGE WHI center("A. Outer Mongolia    ",78)
  1569. if randm = 1 then CALL MESSAGE WHI center("B. Peru              ",78)
  1570. if randm = 2 then CALL MESSAGE WHI center("B. Peru              ",78)
  1571. if randm = 3 then CALL MESSAGE WHI center("B. England           ",78)
  1572. if randm = 1 then CALL MESSAGE WHI center("C. Germany           ",78)
  1573. if randm = 2 then CALL MESSAGE WHI center("C. Switzerland       ",78)
  1574. if randm = 3 then CALL MESSAGE WHI center("C. Niagra Falls - NY ",78)
  1575. if randm = 1 then CALL MESSAGE WHI center("D. Verona, Italy     ",78)
  1576. if randm = 2 then CALL MESSAGE WHI center("D. Athens, Greece    ",78)
  1577. if randm = 3 then CALL MESSAGE WHI center("D. Disney World      ",78)
  1578. CALL MESSAGE " "RESET
  1579. prompt( CYA"Where do you want to travel?  "BLU"["YEL"Q"BLU"]"CYA" Quits:"BLU"> "RESET)
  1580. trav=readstr()
  1581. if checkBBS() then signal BYE
  1582. if trav = "Q" then signal MENU
  1583. if randm = 1 & trav = "A" then signal WASHINGTON
  1584. if randm = 1 & trav = "B" then signal PERU
  1585. if randm = 1 & trav = "C" then signal GERMANY
  1586. if randm = 1 & trav = "D" then signal VERONA
  1587. if randm = 2 & trav = "A" then signal WALLSTREET
  1588. if randm = 2 & trav = "B" then signal PERU
  1589. if randm = 2 & trav = "C" then signal SWITZERLAND
  1590. if randm = 2 & trav = "D" then signal ATHENS
  1591. if randm = 3 & trav = "A" then signal MONGOLIA
  1592. if randm = 3 & trav = "B" then signal ENGLAND
  1593. if randm = 3 & trav = "C" then signal NIAGARA
  1594. if randm = 3 & trav = "D" then signal DISNEY
  1595. signal TRIP
  1596.  
  1597. WASHINGTON:
  1598. price = 9000
  1599. CALL MESSAGE CLS
  1600. CALL MESSAGE center(BLUCYA"   Going to Washington D.C.   "RESET,78)
  1601. CALL MESSAGE " "
  1602. CALL MESSAGE "   Washington D.C. is the political gut of our nation.  All the"
  1603. CALL MESSAGE " largest decisions are made here that effect our lives greatly."
  1604. CALL MESSAGE " (And hopefully our president has nothing to do with them.)"
  1605. CALL MESSAGE " "
  1606. call GOING
  1607. CALL MESSAGE RED"Arrived in Washington D.C."
  1608. call delay(80)
  1609. CALL MESSAGE " "
  1610. rannum = RANDOM(1,5,Time('s'))
  1611. if rannum = 1 then do
  1612.    CALL MESSAGE CYA"In Washington D.C. you meet the"
  1613.    CALL MESSAGE CYA"president and get a loan from him!"
  1614.    CALL MESSAGE YEL"You get $30000!"
  1615.    CALL MESSAGE BLU"There's nothing like living off of"
  1616.    CALL MESSAGE BLU"honest taxpayers' money, eh?"
  1617.    money = money + 30000
  1618.   end
  1619. if rannum = 2 then do
  1620.    CALL MESSAGE CYA"Lean too far out of the Washington"
  1621.    CALL MESSAGE CYA"Monument and fall!"
  1622.    CALL MESSAGE YEL"You lose 20 hitpoints."
  1623.    if hitpoints < 20 then hitpoints = 0
  1624.    if hitpoints >= 20 then hitpoints = hitpoints - 20
  1625.   end
  1626. if rannum = 3 then do
  1627.    CALL MESSAGE CYA"Get appointed a supreme court judge!"
  1628.    CALL MESSAGE YEL"You earn $20000!"
  1629.    money = money + 20000
  1630.   end
  1631. if rannum = 4 then do
  1632.    CALL MESSAGE CYA"Get locked in a taxi from hell!"
  1633.    CALL MESSAGE CYA"Tour the entire city 800 times over."
  1634.    CALL MESSAGE YEL"Lose $15000 cab fair."
  1635.    if money < 15000 then money = 0
  1636.    if money >= 15000 then money = money - 15000
  1637.   end
  1638. if rannum = 5 then do
  1639.    CALL MESSAGE CYA"Read the constitution and feel"
  1640.    CALL MESSAGE CYA"intellectually enlightened!"
  1641.    CALL MESSAGE YEL"Recieve 40 hitpoints."
  1642.    if maxpoints >= 40 then hitpoints = hitpoints + 40
  1643.    if maxpoints < 40 then hitpoints = maxpoints
  1644.   end
  1645. signal RATRACE
  1646.  
  1647. RATRACE:
  1648. call delay(100)
  1649. CALL MESSAGE " "
  1650. prompt( RESET"Press "RED"RETURN"WHI" when finished: "RESET)
  1651. junk=readstr()
  1652. if checkBBS() then signal BYE
  1653. CALL MESSAGE " "
  1654. CALL MESSAGE GRE"Well, it's been fun but you gotta"
  1655. CALL MESSAGE GRE"get back into the rat race!"
  1656. CALL MESSAGE " "RESET
  1657. call delay(120)
  1658. signal MENU
  1659.  
  1660. PERU:
  1661. price = 7000
  1662. CALL MESSAGE CLS
  1663. CALL MESSAGE center(BLUCYA"   Going to Peru   "RESET,78)
  1664. CALL MESSAGE " "
  1665. CALL MESSAGE "   Peru is a land of beauty and mystery, just beware, it's a"
  1666. CALL MESSAGE " jungle out there!"
  1667. CALL MESSAGE " "
  1668. call GOING
  1669. CALL MESSAGE RED"Arrived in Peru."
  1670. call delay(80)
  1671. CALL MESSAGE " "
  1672. rannum = RANDOM(1,5,Time('s'))
  1673. if rannum = 1 then do
  1674.    CALL MESSAGE CYA"Learn ancient healing spells from"
  1675.    CALL MESSAGE CYA"old scrolls..."
  1676.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1677.    hitpoints = maxpoints
  1678.   end
  1679. if rannum = 2 then do
  1680.    CALL MESSAGE CYA"Fall off of cliff!"
  1681.    CALL MESSAGE YEL"Lost 30 hitpoints."
  1682.    if hitpoints < 30 then hitpoints = 0
  1683.    if hitpoints >= 30 then hitpoints = hitpoints - 30
  1684.   end
  1685. if rannum = 3 then do
  1686.    CALL MESSAGE CYA"Discover gold in an ancient tomb!"
  1687.    CALL MESSAGE YEL"Gain $50000!"
  1688.    money = money + 50000
  1689.   end
  1690. if rannum = 4 then do
  1691.    CALL MESSAGE CYA"Get bitten by a snake and go to the"
  1692.    CALL MESSAGE CYA"witch doctor!"
  1693.    CALL MESSAGE YEL"He charges you $10000 for services."
  1694.    if money < 10000 then money = 0
  1695.    if money >= 10000 then money = money - 10000
  1696.   end
  1697. if rannum = 5 then do
  1698.    CALL MESSAGE CYA"Learn to dine CANNIBAL style!"
  1699.    CALL MESSAGE YEL"Gain 40 hitpoints!"
  1700.    if maxpoints >= 40 then hitpoints = hitpoints + 40
  1701.    if maxpoints < 40 then hitpoints = maxpoints
  1702.   end
  1703. CALL MESSAGE " "
  1704. signal RATRACE
  1705.  
  1706. GERMANY:
  1707. price = 10000
  1708. CALL MESSAGE CLS
  1709. CALL MESSAGE center(BLUCYA"   Going to Germany   "RESET,78)
  1710. CALL MESSAGE " "
  1711. CALL MESSAGE "   Ah Germany, good ol' Deutschland.  Home to many beers and"
  1712. CALL MESSAGE " bratwursts, a country of great prosperity risen out of the ashes"
  1713. CALL MESSAGE " of World War II.  (Not to mention it is great for partying!)"
  1714. CALL MESSAGE " "
  1715. call GOING
  1716. CALL MESSAGE RED"Arrived in Germany."
  1717. call delay(80)
  1718. CALL MESSAGE " "
  1719. rannum = RANDOM(1,5,Time('s'))
  1720. if rannum = 1 then do
  1721.    CALL MESSAGE CYA"Win a German Bratwurst eating contest!"
  1722.    CALL MESSAGE YEL"Win $30000 and a Volkswagen!"
  1723.    money = money + 30000
  1724.    if armor = arm1 | armor = arm2 | armor = arm3 | armor = arm4 | armor = arm5 | armor = arm6 | armor = arm7 | armor = arm8 then armor = arm9
  1725.   end
  1726. if rannum = 2 then do
  1727.    CALL MESSAGE CYA"Party too much and have a hangover the"
  1728.    CALL MESSAGE CYA"size of Africa!"
  1729.    CALL MESSAGE YEL"Lose 20 hitpoints."
  1730.    if hitpoints < 20 then hitpoints = 0
  1731.    if hitpoints >= 20 then hitpoints = hitpoints - 20
  1732.   end
  1733. if rannum = 3 then do
  1734.    CALL MESSAGE CYA"Total your vehicle on the autobahn!"
  1735.    CALL MESSAGE YEL"Lose $25000 for repairs."
  1736.    if money < 25000 then money = 0
  1737.    if money >= 25000 then money = money - 25000
  1738.   end
  1739. if rannum = 4 then do
  1740.    CALL MESSAGE CYA"Recieve a vitamin mixture from the"
  1741.    CALL MESSAGE CYA"local Apothecary!"
  1742.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1743.    hitpoints = maxpoints
  1744.   end
  1745. if rannum = 5 then do
  1746.    CALL MESSAGE CYA"Get caught on the cirle drives for"
  1747.    CALL MESSAGE CYA"three days!"
  1748.    CALL MESSAGE YEL"Lose $1000 for gas."
  1749.    if money < 1000 then money = 0
  1750.    if money >= 1000 then money = money - 1000
  1751.   end
  1752. CALL MESSAGE " "
  1753. signal RATRACE
  1754.  
  1755. VERONA:
  1756. price = 4000
  1757. CALL MESSAGE CLS
  1758. CALL MESSAGE center(BLUCYA"   Going to Verona, Italy   "RESET,78)
  1759. CALL MESSAGE " "
  1760. CALL MESSAGE "   Verona, Italy -- the host city to the immortal love story of"
  1761. CALL MESSAGE " Shakespeare's Romeo and Juliet, truly the greatest love story"
  1762. CALL MESSAGE " ever written...  (although a bit cryptic!)"
  1763. CALL MESSAGE " "
  1764. call GOING
  1765. CALL MESSAGE RED"Arrived in Verona, Italy."
  1766. call delay(80)
  1767. CALL MESSAGE " "
  1768. rannum = RANDOM(1,4,Time('s'))
  1769. if rannum = 1 then do
  1770.    CALL MESSAGE CYA"See a play done of Romeo and Juliet!"
  1771.    CALL MESSAGE YEL"Pay $4000 to see it."
  1772.    if money < 4000 then money = 0
  1773.    if money >= 4000 then money = money - 4000
  1774.   end
  1775. if rannum = 2 then do
  1776.    CALL MESSAGE CYA"Visit the Capulet's Tomb and get"
  1777.    CALL MESSAGE CYA"trapped for a week!"
  1778.    CALL MESSAGE YEL"Lose 40 hitpoints!"
  1779.    if hitpoints < 40 then hitpoints = 0
  1780.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1781.   end
  1782. if rannum = 3 then do
  1783.    CALL MESSAGE CYA"Some people think you look just like"
  1784.    CALL MESSAGE CYA"Romeo! (Which is odd if you are a woman.)"
  1785.    CALL MESSAGE YEL"Recieve in gifts $18000!"
  1786.    money = money + 18000
  1787.   end
  1788. if rannum = 4 then do
  1789.    CALL MESSAGE CYA"Some people think you look just like"
  1790.    CALL MESSAGE CYA"Juliet! (Whick is odd if you are a man.)"
  1791.    CALL MESSAGE YEL"Recieve in gifts $19000!"
  1792.    money = money + 19000
  1793.   end
  1794. signal RATRACE
  1795.  
  1796. WALLSTREET:
  1797. price = 12500
  1798. CALL MESSAGE CLS
  1799. CALL MESSAGE center(BLUCYA"   Going to Wall Street!   "RESET,78)
  1800. CALL MESSAGE " "
  1801. CALL MESSAGE "   Wall Street, where money is made and fortunes are lost.  Where"
  1802. CALL MESSAGE " great men are made and greedy men are broken.  This crazy place"
  1803. CALL MESSAGE " is locked in the heart of a crazy city, where else, New York."
  1804. CALL MESSAGE " "
  1805. call GOING
  1806. CALL MESSAGE RED"Arrived at Wall Street."
  1807. call delay(80)
  1808. CALL MESSAGE " "
  1809. rannum = RANDOM(1,5,Time('s'))
  1810. if rannum = 1 then do
  1811.    CALL MESSAGE CYA"You break even on the stocks..."
  1812.    CALL MESSAGE YEL"Recieve $12500 salary."
  1813.    money = money + 12500
  1814.   end
  1815. if rannum = 2 then do
  1816.    CALL MESSAGE CYA"HIT IT BIG IN DOW JONES!"
  1817.    CALL MESSAGE YEL"Recieve $75000!!!"RESET
  1818.    money = money + 75000
  1819.   end
  1820. if rannum = 3 then do
  1821.    CALL MESSAGE CYA"Get mugged in the big apple!"
  1822.    CALL MESSAGE YEL"Lose $20000."
  1823.    if money < 20000 then money = 0
  1824.    if money >= 20000 then money = money - 20000
  1825.   end
  1826. if rannum = 4 then do
  1827.    CALL MESSAGE CYA"Get hit by a maniac cab driver!"
  1828.    CALL MESSAGE YEL"You lose 50 hitpoints."
  1829.    if hitpoints < 50 then hitpoints = 0
  1830.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  1831.   end
  1832. if rannum = 5 then do
  1833.    CALL MESSAGE CYA"AT&T goes through the roof!"
  1834.    CALL MESSAGE YEL"Gain $55000!"
  1835.    money = money + 55000
  1836.   end
  1837. signal RATRACE
  1838.  
  1839. SWITZERLAND:
  1840. price = 8500
  1841. CALL MESSAGE CLS
  1842. CALL MESSAGE center(BLUCYA"   Going to Switzerland   "RESET,78)
  1843. CALL MESSAGE " "
  1844. CALL MESSAGE "   Switzerland is famous for skiing, watches, and many other things"
  1845. CALL MESSAGE " that I guess I'm too stupid to think of right now.  The swiss,"
  1846. CALL MESSAGE " locked in a mountainous cage, stands protected from enemy countries"
  1847. CALL MESSAGE " thus remaining one of the FEW neutral countries."
  1848. CALL MESSAGE " "
  1849. call GOING
  1850. CALL MESSAGE RED"Arrived in Swizerland."
  1851. call delay(80)
  1852. CALL MESSAGE " "RESET
  1853. rannum = RANDOM(1,5,Time('s'))
  1854. if rannum = 1 then do
  1855.    CALL MESSAGE CYA"Go skiing in the Swiss Alps and"
  1856.    CALL MESSAGE CYA"break your leg!"
  1857.    CALL MESSAGE YEL"Lose 40 hitpoints."
  1858.    if hitpoints < 40 then hitpoints = 0
  1859.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1860.   end
  1861. if rannum = 2 then do
  1862.    CALL MESSAGE CYA"AVALANCHE!!! You are buried in"
  1863.    CALL MESSAGE CYA"snow!"
  1864.    CALL MESSAGE YEL"Lose 40 hitpoints."
  1865.    if hitpoints < 40 then hitpoints = 0
  1866.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1867.   end
  1868. if rannum = 3 then do
  1869.    CALL MESSAGE CYA"Save a millionare's life in a chair"
  1870.    CALL MESSAGE CYA"lift accident! (He fell on you.)"
  1871.    CALL MESSAGE YEL"Win $50000!"
  1872.    money = money + 50000
  1873.   end
  1874. if rannum = 4 then do
  1875.    CALL MESSAGE CYA"Eat enough to feed a horse!"
  1876.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints."
  1877.    hitpoints = maxpoints
  1878.   end
  1879. if rannum = 5 then do
  1880.    CALL MESSAGE CYA"Find a cave with ancient artifacts!"
  1881.    CALL MESSAGE YEL"Get $30000!"
  1882.    money = money + 30000
  1883.   end
  1884. signal RATRACE
  1885.  
  1886. ATHENS:
  1887. price = 10000
  1888. CALL MESSAGE CLS
  1889. CALL MESSAGE center(BLUCYA"   Going to Athens   "RESET,78)
  1890. CALL MESSAGE " "
  1891. CALL MESSAGE "   Athens, Greece, the heart of Greek mythology.  Many stories and"
  1892. CALL MESSAGE " plays were made of this place relating to the Gods, and their"
  1893. CALL MESSAGE " adventures."
  1894. CALL MESSAGE " "
  1895. call GOING
  1896. CALL MESSAGE RED"Arrived in Athens, Greece."
  1897. call delay(80)
  1898. CALL MESSAGE " "
  1899. rannum = RANDOM(1,5,Time('s'))
  1900. if rannum = 1 then do
  1901.    CALL MESSAGE CYA"Go to watch a play of Antigone."
  1902.    CALL MESSAGE YEL"Pay $5000."
  1903.    if money < 5000 then money = 0
  1904.    if money >= 5000 then money = money - 5000
  1905.   end
  1906. if rannum = 2 then do
  1907.    CALL MESSAGE CYA"Meet Zeus!  He gives you a gift!"
  1908.    CALL MESSAGE YEL"Recieve $30000!"
  1909.    money = money + 30000
  1910.   end
  1911. if rannum = 3 then do
  1912.    CALL MESSAGE CYA"Hades kidnaps you to the underword!"
  1913.    CALL MESSAGE YEL"Lose 50 hitpoints."
  1914.    if hitpoints < 50 then hitpoints = 0
  1915.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  1916.   end
  1917. if rannum = 4 then do
  1918.    CALL MESSAGE CYA"Eat ambrosia and drink nectar!"
  1919.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1920.    hitpoints = maxpoints
  1921.   end
  1922. if rannum = 5 then do
  1923.    CALL MESSAGE CYA"Buy a colluseum!"
  1924.    CALL MESSAGE YEL"Pay $22000!"
  1925.    if money < 22000 then money = 0
  1926.    if money >= 22000 then money = money - 22000
  1927.   end
  1928. signal RATRACE
  1929.  
  1930. MONGOLIA:
  1931. price = 4000
  1932. CALL MESSAGE CLS
  1933. CALL MESSAGE center(BLUCYA"   Going to Outer Mongolia!   "RESET,78)
  1934. CALL MESSAGE " "
  1935. CALL MESSAGE "   Outer Mongolia... hmm.. hard to explain, but in itself an "
  1936. CALL MESSAGE " adventure.  This country was the fertle ground in which Ghengis"
  1937. CALL MESSAGE " Kahn rose out of to ravage China. (And we all know what he's like!"
  1938. CALL MESSAGE " -imagine what the country must be like!) "
  1939. CALL MESSAGE " "
  1940. call GOING
  1941. CALL MESSAGE RED"Arrived in Outer Mongolia."
  1942. call delay(80)
  1943. CALL MESSAGE " "
  1944. rannum = RANDOM(1,5,Time('s'))
  1945. if rannum = 1 then do
  1946.    CALL MESSAGE CYA"Learn the ancient art of wizardry"
  1947.    CALL MESSAGE CYA"and heal yourself!"
  1948.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1949.    hitpoints = maxpoints
  1950.   end
  1951. if rannum = 2 then do
  1952.    CALL MESSAGE CYA"Climb to a mountaintop to get words"
  1953.    CALL MESSAGE CYA"of wisdom from an old wiseman only"
  1954.    CALL MESSAGE CYA"to find him dead!"
  1955.    CALL MESSAGE YEL"Lose 40 hitpoints for the effort."
  1956.    CALL MESSAGE YEL"Pay $10000 for funeral services."
  1957.    if hitpoints < 40 then hitpoints = 0
  1958.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1959.    if money < 10000 then money = 0
  1960.    if money >= 10000 then money = money - 10000
  1961.   end
  1962. if rannum = 3 then do
  1963.    CALL MESSAGE CYA"Win Mongolia's famous gameshow:"
  1964.    CALL MESSAGE CYA"STALK DOWN THE WILD BEAR AND KILL"
  1965.    CALL MESSAGE CYA"IT WITH YOUR BARE HANDS AND TONGUE!"
  1966.    CALL MESSAGE YEL"Win $40000!"
  1967.    money = money + 40000
  1968.   end
  1969. if rannum = 4 then do
  1970.    CALL MESSAGE CYA"Record Mongolia's #1 song:"
  1971.    CALL MESSAGE CYA"Ode to Ghengis Kahn."
  1972.    CALL MESSAGE YEL"Win $25000!"
  1973.    money = money + 25000
  1974.   end
  1975. if rannum = 5 then do
  1976.    CALL MESSAGE CYA"Break Mongolia's law of not"
  1977.    CALL MESSAGE CYA"using utensils."
  1978.    CALL MESSAGE YEL"Fined $20000."
  1979.    if money < 20000 then money = 0
  1980.    if money >= 20000 then money = money - 20000
  1981.   end
  1982. signal RATRACE
  1983.  
  1984. ENGLAND:
  1985. price = 9500
  1986. CALL MESSAGE CLS
  1987. CALL MESSAGE center(BLUCYA"   Going to England   "RESET,78)
  1988. CALL MESSAGE " "
  1989. CALL MESSAGE "   Jolly Ol' England, as they say, is a whole different culture from"
  1990. CALL MESSAGE " the American sort.  Here queens and kings are supported (as well as"
  1991. CALL MESSAGE " Amigas!)"
  1992. CALL MESSAGE " "
  1993. call GOING
  1994. CALL MESSAGE RED"Arrived in England."
  1995. call delay(80)
  1996. CALL MESSAGE " "
  1997. rannum = RANDOM(1,5,Time('s'))
  1998. if rannum = 1 then do
  1999.    CALL MESSAGE CYA"Become the Price of Wales!"
  2000.    CALL MESSAGE YEL"Earn $32000!"
  2001.    money = money + 32000
  2002.   end
  2003. if rannum = 2 then do
  2004.    CALL MESSAGE CYA"Discover the genetic secret of"
  2005.    CALL MESSAGE CYA"why the english have extremely"
  2006.    CALL MESSAGE CYA"large noses!"
  2007.    CALL MESSAGE YEL"Win $23000!"
  2008.    money = money + 23000
  2009.   end
  2010. if rannum = 3 then do
  2011.    CALL MESSAGE CYA"Get envolved in a 20 bicycle"
  2012.    CALL MESSAGE CYA"pileup!"
  2013.    CALL MESSAGE YEL"Lose 35 hitpoints."
  2014.    if hitpoints < 35 then hitpoints = 0
  2015.    if hitpoints >= 35 then hitpoints = hitpoints - 35
  2016.   end
  2017. if rannum = 4 then do
  2018.    CALL MESSAGE CYA"Get pulled over for driving on the"
  2019.    CALL MESSAGE CYA"wrong side of the road!"
  2020.    CALL MESSAGE YEL"Fined $35000!"
  2021.    if money < 35000 then money = 0
  2022.    if money >= 35000 then money = money - 35000
  2023.   end
  2024. if rannum = 5 then do
  2025.    CALL MESSAGE CYA"Accidentally get trapped watching a"
  2026.    CALL MESSAGE CYA"9 hour movie that is extremely boring"
  2027.    CALL MESSAGE CYA"and not even in the english language!"
  2028.    CALL MESSAGE YEL"Lose $23000 parking meter fees."
  2029.    CALL MESSAGE YEL"Lose 10 hitpoints for IQ point loss."
  2030.    if money < 23000 then money = 0
  2031.    if money >= 23000 then money = money - 23000
  2032.    if hitpoints < 10 then hitpoints = 0
  2033.    if hitpoints >= 10 then hitpoints = hitpoints - 10
  2034.   end
  2035. signal RATRACE
  2036.  
  2037. NIAGARA:
  2038. price = 11000
  2039. CALL MESSAGE CLS
  2040. CALL MESSAGE center(BLUCYA"   Going to Niagara Falls, NY   "RESET,78)
  2041. CALL MESSAGE " "
  2042. CALL MESSAGE "   Niagara Falls, the famed gigantic falls which have claimed lives"
  2043. CALL MESSAGE " and made fame.  Their sight is breathtaking.  --Plus there are a"
  2044. CALL MESSAGE " multitude of wax museums for those who don't like water!"
  2045. CALL MESSAGE " "
  2046. call GOING
  2047. CALL MESSAGE RED"Arrived in Niagara Falls, NY."
  2048. call delay(80)
  2049. CALL MESSAGE " "
  2050. rannum = RANDOM(1,6,Time('s'))
  2051. if rannum = 1 then do
  2052.    CALL MESSAGE CYA"Walk across the falls on a"
  2053.    CALL MESSAGE CYA"tightrope!"
  2054.    CALL MESSAGE YEL"Win $20000!"
  2055.    money = money + 20000
  2056.   end
  2057. if rannum = 2 then do
  2058.    CALL MESSAGE CYA"Attempt at walking across the"
  2059.    CALL MESSAGE CYA"falls on a tightrope--AND FALL"
  2060.    CALL MESSAGE CYA"IN!  (Smooth move ex-lax!)"
  2061.    CALL MESSAGE YEL"Lose 50 hitpoints."
  2062.    if hitpoints < 50 then hitpoints = 0
  2063.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  2064.   end
  2065. if rannum = 3 then do
  2066.    CALL MESSAGE CYA"Go down the falls in a barrel!"
  2067.    CALL MESSAGE CYA"And.. well, it isn't pretty."
  2068.    CALL MESSAGE YEL"Lose 50 hitpoints."
  2069.    if hitpoints < 50 then hitpoints = 0
  2070.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  2071.   end
  2072. if rannum = 4 then do
  2073.    CALL MESSAGE CYA"Get stuck in wax museum hell!"
  2074.    CALL MESSAGE YEL"Lose $19000!"
  2075.    if money < 19200 then money = 0
  2076.    if money >= 19000 then money = money - 19000
  2077.   end
  2078. if rannum = 5 then do
  2079.    CALL MESSAGE CYA"Discover PLUTONIUM under the falls!"
  2080.    CALL MESSAGE YEL"Awarded $55000!"
  2081.    money = money + 55000
  2082.   end
  2083. if rannum = 6 then do
  2084.    CALL MESSAGE CYA"Discover the fountain of youth in"
  2085.    CALL MESSAGE CYA"the falls!"
  2086.    CALL MESSAGE YEL"You get "maxpoints" hitpoints!"
  2087.    hitpoints = maxpoints
  2088.   end
  2089. signal RATRACE
  2090.  
  2091. DISNEY:
  2092. price = 13000
  2093. CALL MESSAGE CLS
  2094. CALL MESSAGE center(BLUCYA"   I'm Going to Disney World!   "RESET,78)
  2095. CALL MESSAGE " "
  2096. CALL MESSAGE "   "handle", you have just one the Super Bowl!  Where are you"
  2097. CALL MESSAGE " going next?  ;-)  Yes, childrens' paradise and adults wonder,"
  2098. CALL MESSAGE " this wonderous place was founded by a man who wanted a fun place"
  2099. CALL MESSAGE " different from the dirty, dusty carnivals in this world, Walt Disney"
  2100. CALL MESSAGE " "
  2101. call GOING
  2102. CALL MESSAGE RED"Arrived in Disney World."
  2103. call delay(50)
  2104. CALL MESSAGE " "
  2105. rannum = RANDOM(1,5,Time('s'))
  2106. if rannum = 1 then do
  2107.    CALL MESSAGE CYA"Uncover Disney's multibillion"
  2108.    CALL MESSAGE CYA"dollar plot to initiate SDI!"
  2109.    CALL MESSAGE YEL"Awarded $33000!"
  2110.    money = money + 33000
  2111.   end
  2112. if rannum = 2 then do
  2113.    CALL MESSAGE CYA"Get trapped on Space Mountain"
  2114.    CALL MESSAGE CYA"roller coaster without a seatbelt!"
  2115.    CALL MESSAGE YEL"Lose 60 hitpoints."
  2116.    if hitpoints < 60 then hitpoints = 0
  2117.    if hitpoints >= 60 then hitpoints = hitpoints - 60
  2118.   end
  2119. if rannum = 3 then do
  2120.    CALL MESSAGE CYA"You get to star in a Disney movie!"
  2121.    CALL MESSAGE YEL"Payed $20000!"
  2122.    money = money + 20000
  2123.   end
  2124. if rannum = 4 then do
  2125.    CALL MESSAGE CYA"You are mysteriously turned into an"
  2126.    CALL MESSAGE CYA"animated penguin!"
  2127.    CALL MESSAGE YEL"Lose $40000! (Penguins have no"
  2128.    CALL MESSAGE YEL"pockets.. do they?)"
  2129.    if money < 40000 then money = 0
  2130.    if money >= 40000 then money = money - 40000
  2131.   end
  2132. if rannum = 5 then do
  2133.    CALL MESSAGE CYA"Your fairy godfather grants you"
  2134.    CALL MESSAGE CYA"hitpoints!"
  2135.    CALL MESSAGE YEL"Granted "maxpoints" hitpoints!"
  2136.    hitpoints = maxpoints
  2137.   end
  2138. signal RATRACE
  2139.  
  2140. GOING:
  2141. CALL MESSAGE " "
  2142. CALL MESSAGE CYA"You have $"WHI||money||CYA".  The trip costs "WHI||price||CYA"."
  2143. CALL MESSAGE " "
  2144. prompt( CYA"Wanna go? ("GRE"Y"CYA"/"RED"n"CYA"):"BLU"> "RESET)
  2145. ans=readstr()
  2146. if checkBBS() then signal BYE
  2147. if ans = "N" then signal TRIP
  2148. CALL MESSAGE CLS
  2149. if money < price then do
  2150.    CALL MESSAGE " "
  2151.    CALL MESSAGE RED center("YOU DON'T HAVE ENOUGH MONEY TO GO!",78)
  2152.    CALL MESSAGE " "RESET
  2153.    call delay(150)
  2154.    signal TRIP
  2155.   end
  2156. money = money - price
  2157. CALL MESSAGE " "
  2158. CALL MESSAGE GRE"Money Paid..."RESET
  2159. CALL MESSAGE MAG"Taking flight..."RESET
  2160. rando = RANDOM(1,20,Time('s'))
  2161. call delay(90)
  2162. CALL MESSAGE YEL" You ate the plane's food -- gain "rando" hitpoints."RESET
  2163. call delay(90)
  2164. hitpoints = hitpoints + rando
  2165. CALL MESSAGE " "
  2166. CALL MESSAGE MAG"Landing..."
  2167. call delay(100)
  2168. ransak = RANDOM(1,200,Time('s'))
  2169. if ransak = 13 | ransak = 21 | ransak = 192 | ransak = 112 | ransak = 80 then do
  2170.    if money >= 50000 then money = money - 20000
  2171.    if money < 50000 then money = money - money
  2172.    if hitpoints >= 80 then hitpoints = hitpoints - 30
  2173.    if hitpoints < 80 then hitpoints = hitpoints - hitpoints
  2174.    CALL MESSAGE RED"YOUR PLANE CRASH LANDED!!!"
  2175.    CALL MESSAGE RED"YOU LOSE 80 HITPOINTS!"
  2176.    CALL MESSAGE RED"YOU LOSE 50000 DOLLARS TO GET A TRIP BACK & HOSPITAL FEES!"
  2177.    CALL MESSAGE " "
  2178.    prompt( CYA"Sue the pilot (Y/n)? ")
  2179.    ans=readstr()
  2180.    if checkBBS() then signal BYE
  2181.    if ans = "N" then do
  2182.       CALL MESSAGE MAG"Ok.. not sueing him."
  2183.       call delay(100)
  2184.       signal MENU
  2185.      end
  2186.    signal SUEHIM
  2187.   end
  2188. return
  2189.  
  2190. SUEHIM:
  2191. rannum = RANDOM(1,2,Time('s'))
  2192. if rannum = 1 then verdict = "GUILTY"
  2193. if rannum = 2 then verdict = "NOT GUILTY"
  2194. CALL MESSAGE CLS
  2195. CALL MESSAGE " "
  2196. CALL MESSAGE RED"A long a tedious trial goes on..."
  2197. CALL MESSAGE RED"and now here's the charge..."
  2198. CALL MESSAGE " "RESET
  2199. CALL MESSAGE CYA"We the jury, find in the case of"
  2200. CALL MESSAGE CYA"the Pilot: "RED||verdict||CYA"!"
  2201. CALL MESSAGE " "
  2202. if rannum = 1 then do
  2203.    CALL MESSAGE MAG"Money in the amount of $150000"
  2204.    CALL MESSAGE MAG"to the plaintiff "handle"!"
  2205.    money = money + 150000
  2206.    call writeln(news,handle' won $150000 in court!')
  2207.    call delay(80)
  2208.   end
  2209. if rannum = 2 then do
  2210.    CALL MESSAGE MAG"It was the planes falt, not"
  2211.    CALL MESSAGE MAG"the Pilot's falt.  Nothing"
  2212.    CALL MESSAGE MAG"gained, nothing lost."
  2213.    CALL MESSAGE " "
  2214.    randy = RANDOM(1,6,Time('s'))
  2215.    randy = randy * 1000
  2216.    CALL MESSAGE CYA"Pay "WHI"$"randy" "CYA"in lawyer fees."
  2217.    if money < randy then money = 0
  2218.    if money >= randy then money = money - randy
  2219.    call delay(80)
  2220.   end
  2221. CALL MESSAGE " "
  2222. CALL MESSAGE BLU"Justice is served."RESET
  2223. CALL MESSAGE " "
  2224. prompt( "Press "RED"RETURN"WHI" when finished: "RESET)
  2225. junk=readstr()
  2226. if checkBBS() then signal BYE
  2227. signal MENU
  2228.  
  2229. LALA:
  2230. CALL MESSAGE " "
  2231. CALL MESSAGE CYA"E"YEL"n"GRE"t"BLU"e"RED"r "WHI"t"MAG"h"YEL"e"RED" m"CYA"a"WHI"g"MAG"i"GRE"c"BLU" w"YEL"o"WHI"r"RED"d"BLU": "RESET
  2232. pass=readstr()
  2233. if checkBBS() then signal BYE
  2234. if pass = "CHEATING!" then signal P2
  2235. signal MENU
  2236.  
  2237. REST:
  2238. lost = maxpoints - hitpoints
  2239. fiz = RANDOM(1,750,Time('s'))
  2240. if rank = ran1 then pernight = 500
  2241. if rank = ran2 then pernight = 700
  2242. if rank = ran3 then pernight = 900
  2243. if rank = ran4 then pernight = 1100
  2244. if rank = ran5 then pernight = 1400
  2245. if rank = ran6 then pernight = 2000
  2246. if rank = ran7 then pernight = 2500
  2247. if rank = ran8 then pernight = 2800
  2248. if rank = ran9 then pernight = 3000
  2249. if rank = ran10 then pernight = 3300
  2250. if rank = ran11 then pernight = 3600
  2251. if rank = ran12 then pernight = 4000
  2252. if rank = ran13 then pernight = 4400
  2253. if rank = ran14 then pernight = 5000
  2254. room = pernight + fiz
  2255. CALL MESSAGE CLS
  2256. CALL MESSAGE " "RESET
  2257. CALL MESSAGE "      _____/_________________________________________________\_____"
  2258. CALL MESSAGE "     |_____________________"MAG"-= LE GRAND HOTEL =-"WHI"____________________|"
  2259. CALL MESSAGE "        |\_________/     ________________________    \_________/|"
  2260. CALL MESSAGE "        |  \_____/       \______________________/      \_____/  |"
  2261. CALL MESSAGE "        |   || ||         |\__________________/|        || ||   |"
  2262. CALL MESSAGE "        |   || ||         | "BLU"| |     ||     | | "WHI"|        || ||   |"
  2263. CALL MESSAGE "        |   || ||         | "BLU"| |"CYA" \"BLU"   ||     | | "WHI"|        || ||   |"
  2264. CALL MESSAGE "        |   || ||         | "BLU"| |"CYA" \  "YEL"["BLU"||"YEL"]"BLU"    | | "WHI"|        || ||   |"RESET
  2265. CALL MESSAGE "        |   || ||         | "BLU"| |     || "CYA"\"BLU"   | | "WHI"|        || ||   |"RESET
  2266. CALL MESSAGE "      __|___||_||_________|/"GRE"#"BLU"\|_____||_____|/"GRE"#"WHI"\|________||_||___|__"RESET
  2267. CALL MESSAGE GRE"      #####"WHI"/_____\"GRE"###########"BLU"/"RED"/            \"BLU"\"GRE"##########"WHI"/_____\"GRE"#####"RESET
  2268. CALL MESSAGE GRE"      #######################"RED"/              \"GRE"######################"RESET
  2269. CALL MESSAGE GRE"      ######################"RED"/                \"GRE"#####################"RESET
  2270. CALL MESSAGE GRE"      #####################"RED"/                  \"GRE"####################"RESET
  2271. CALL MESSAGE GRE"      ####################"RED"/____________________\"GRE"###################"RESET
  2272. CALL MESSAGE " "
  2273. CALL MESSAGE MAG"                     Right now it costs $"WHI||room||MAG" per night."
  2274. CALL MESSAGE CYA"             30 hitpoints healed a night. - You need to heal "WHI||lost||CYA"."
  2275. CALL MESSAGE " "
  2276. CALL MESSAGE CYA" Stay how many nights? "BLU"["YEL"Q"BLU"]"CYA" Quits"BLU":"RESET
  2277. stay=readstr()
  2278. if checkBBS() then signal BYE
  2279. if stay = "Q" then signal MENU
  2280. if stay = "" | stay = " " | stay = "  " | stay = "   " | stay = "    " | stay = "     " then signal MENU
  2281. if stay = 0 then do
  2282.    CALL MESSAGE CLS
  2283.    CALL MESSAGE " "
  2284.    CALL MESSAGE CYA"What, are you just going to mope around in the lounge all day?"
  2285.    CALL MESSAGE " "RESET
  2286.    call delay(150)
  2287.    signal MENU
  2288.   end
  2289. if stay > 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 then signal YOT
  2290. if stay < 0 then signal YOT
  2291. dogz = compress(stay,'ABCDEFGHIJKLMNOPQRSTUVWXYZ.,{}[];:''"?/\=+-_)(*&^%$#@!~`<>')
  2292. payme = dogz * room
  2293. if payme > money then do
  2294.    CALL MESSAGE CLS
  2295.    CALL MESSAGE " "
  2296.    CALL MESSAGE RED center("You don't have enough money to stay here that long!",78)
  2297.    CALL MESSAGE " "RESET
  2298.    call delay(130)
  2299.   end
  2300. if money = payme then do
  2301.    CALL MESSAGE " "
  2302.    CALL MESSAGE MAG"You are going to be "RED"BROKE"MAG" if you stay here that long!"RESET
  2303.    CALL MESSAGE " "
  2304.    prompt( CYA"Stay here anyway ("GRE"Y"CYA"/"RED"n"CYA")? "RESET)
  2305.    stayany=readstr()
  2306.    if checkBBS() then signal BYE
  2307.    if stayany = "N" then do
  2308.       CALL MESSAGE BLU"Ok.. leaving Hotel..."RESET
  2309.       call delay(100)
  2310.       signal MENU
  2311.      end
  2312.   end
  2313. if payme <= money then signal RESTHERE
  2314. signal MENU
  2315.  
  2316. YOT:
  2317. CALL MESSAGE CLS
  2318. CALL MESSAGE " "
  2319. CALL MESSAGE RED center("You must enter a NUMBER! ",78)
  2320. CALL MESSAGE RESET" "
  2321. call delay(110)
  2322. signal REST
  2323.  
  2324. RESTHERE:
  2325. money = money - payme
  2326. runny = RANDOM(1,200,Time('s'))
  2327. if runny >= money then runny = 0
  2328. CALL MESSAGE CLS
  2329. CALL MESSAGE " "
  2330. CALL MESSAGE YEL center("Enjoy your stay!",78)
  2331. CALL MESSAGE " "
  2332. CALL MESSAGE CYA"Sleeping."
  2333.   do i = 1 to 20
  2334.    CALL NOCR CYA"."
  2335.    call delay(20)
  2336.    i=i+1
  2337.   end
  2338. CALL MESSAGE " "
  2339. hitpoints=hitpoints+(dogz*30)
  2340. if hitpoints > maxpoints then hitpoints = maxpoints
  2341. CALL MESSAGE CYA"Ahhh.. you feel refreshed!"
  2342. CALL MESSAGE CYA"You order $"WHI||runny||CYA" in room service."
  2343. if money = 0 then CALL MESSAGE CYA"By the way.. "RED"You're Broke!"RESET
  2344. CALL MESSAGE " "
  2345. prompt( RESET" Press "RED"RETURN"WHI" when finished: "RESET)
  2346. junk=readstr()
  2347. if checkBBS() then signal BYE
  2348. signal MENU
  2349.  
  2350. YOURSTATS:
  2351. turnsleft = turnsleft + 1
  2352. CALL MESSAGE CLS
  2353. CALL MESSAGE " "
  2354. CALL MESSAGE "                "BLUCYA"   Player Statistics For The Yuppie "handle"   "RESET
  2355. CALL MESSAGE BLU center(" ----------------------------------------------------------------------- ",78)
  2356. call POINTCK
  2357. CALL MESSAGE " "
  2358. CALL MESSAGE MAG"                         Points: "WHI||points
  2359. CALL MESSAGE MAG"                           Rank: "WHI||rank
  2360. CALL MESSAGE MAG"                      Hitpoints: "WHI||hitpoints
  2361. CALL MESSAGE MAG"                     Turns Left: "WHI||turnsleft
  2362. CALL MESSAGE MAG"                         Weapon: "WHI||weapon
  2363. CALL MESSAGE MAG"                        Vehicle: "WHI||armor
  2364. CALL MESSAGE MAG"                          Money: "WHI"$"money
  2365. CALL MESSAGE MAG"                     Bank Money: "WHI"$"bmoney
  2366. CALL MESSAGE MAG"                 Lifetime Kills: "WHI||kills
  2367. CALL MESSAGE " "RESET
  2368. CALL MESSAGE " "
  2369. prompt( " Hit "RED"RETURN"WHI" when finished: "RESET)
  2370. junk=readstr()
  2371. if checkBBS() then signal BYE
  2372. signal MENU
  2373.  
  2374. VEGAS:
  2375. currentmem=storage()
  2376.   if currentmem<lowmem then do
  2377.     CALL MESSAGE CLS
  2378.     CALL MESSAGE " "
  2379.     CALL MESSAGE RED CENTER("Sorry!  Out of memory!  Saving and exiting...",78)
  2380.     call delay(190)
  2381.     signal BYE
  2382.   end
  2383. call EVENER
  2384. if turnsleft <= 0 then do
  2385.    CALL MESSAGE CLS
  2386.    CALL MESSAGE " "
  2387.    CALL MESSAGE center("        "BLUCYA"   You must like this game!   "RESET,78)
  2388.    CALL MESSAGE " "RESET
  2389.    CALL MESSAGE RED center("But anyway, you have played all your 25 turns out.",78)
  2390.    CALL MESSAGE RED center("Try calling back tomarrow and playing again!",78)
  2391.    CALL MESSAGE " "
  2392.    prompt( RESET"Press "RED"RETURN"WHI" when finished: "RESET)
  2393.    junk=readstr()
  2394.    signal OUTTAHERE
  2395.   end
  2396. CALL MESSAGE CLS
  2397. CALL MESSAGE "                 "WHI"*"RED"                ____"RESET
  2398. CALL MESSAGE RED" __ "WHI" *"RED"      ____  ___     /\  "WHI" *"RED" / __/"RESET
  2399. CALL MESSAGE RED" \ \    __ /___/ /___\   //\\   / /"RESET
  2400. CALL MESSAGE RED"  \ \  / ///_   //  "WHI"*"RED"\\ / \/ \ / /"RESET
  2401. CALL MESSAGE RED"   \ \/ //__/   \\___/// ____ \\ \___ "WHI"*"RESET
  2402. CALL MESSAGE RED"    \  / \\_____ \__ // /  __\ \\_  /"RESET
  2403. CALL MESSAGE WHI"  * "RED" \/   \____/___// \/   \__\/___/"RESET
  2404. CALL MESSAGE WHI"        *  "RED"/_______/"BLU" __________________________"RESET
  2405. CALL MESSAGE BLU"                    /------"ITAL||CYA"What To Play"RESET||BLU"-------/ "
  2406. CALL MESSAGE BLU"                   /                         / "
  2407. CALL MESSAGE BLU"                  /     "ITAL" ["RESET||YEL"S"ITAL||BLU"] "CYA"Slots"RESET||BLU"          / "
  2408. CALL MESSAGE BLU"                 /     "ITAL" ["RESET||YEL"L"ITAL||BLU"] "CYA"Lotto"RESET||BLU"          / "
  2409. CALL MESSAGE BLU"                /     "ITAL" ["RESET||YEL"C"ITAL||BLU"] "CYA"Craps"RESET||BLU"          / "
  2410. CALL MESSAGE BLU"               /     "ITAL" ["RESET||YEL"F"ITAL||BLU"] "CYA"Fifty-Fifty"RESET||BLU"    / "
  2411. CALL MESSAGE BLU"              /     "ITAL" ["RESET||YEL"Q"ITAL||BLU"] "CYA"Leave Vegas"RESET||BLU"    / "
  2412. CALL MESSAGE BLU"             /_________________________/ "
  2413. CALL MESSAGE " "RESET
  2414. prompt( CYA"What game do you want to play?"BLU"> "RESET)
  2415. Choice=readstr()
  2416. if checkBBS() then signal BYE
  2417. if Choice = "Q" then do
  2418. turnsleft = turnsleft + 1
  2419. signal MENU
  2420. end
  2421. if Choice = "S" then do
  2422. turnsleft = turnsleft - 1
  2423. call SLITS
  2424. end
  2425. if Choice = "L" then do
  2426. turnsleft = turnsleft - 1
  2427. signal LOTTO
  2428. end
  2429. if Choice = "C" then do
  2430. turnsleft = turnsleft - 1
  2431. call CRAPS
  2432. end
  2433. if Choice = "F" then do
  2434. turnsleft = turnsleft - 1
  2435. signal FIFTY
  2436. end
  2437. signal VEGAS
  2438.  
  2439. FIFTY:
  2440. if money <= 0 then do
  2441.    turnsleft = turnsleft + 1
  2442.    CALL MESSAGE CLS
  2443.    CALL MESSAGE " "
  2444.    CALL MESSAGE RED center("YOU NEED MONEY TO PLAY!",78)
  2445.    CALL MESSAGE " "
  2446.    call delay(150)
  2447.    signal VEGAS
  2448.   end
  2449. t = b
  2450. CALL MESSAGE CLS
  2451. CALL MESSAGE "                        "BLUCYA"   Playing Fifty-Fifty   "RESET
  2452. CALL MESSAGE " "
  2453. CALL MESSAGE CYA center("You have a 50% chance of winning double your bet.",78)
  2454. CALL MESSAGE " "
  2455. prompt( BLU" You have $"CYA||money||BLU", your bet (Max $"CYA"5000"BLU")?"RESET)
  2456. Betty=readstr()
  2457. if checkBBS() then signal BYE
  2458. if Betty = 'Q' then signal VEGAS
  2459. if Betty > money then do
  2460.    CALL MESSAGE " "
  2461.    CALL MESSAGE RED center("YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!",78)
  2462.    CALL MESSAGE " "
  2463.    call delay(110)
  2464.    signal FIFTY
  2465.   end
  2466. if Betty > 5000 | Betty < 1 then do
  2467.    CALL MESSAGE CLS
  2468.    CALL MESSAGE " "
  2469.    CALL MESSAGE RED center("You must bet between 1 and 5000!",78)
  2470.    CALL MESSAGE " "
  2471.    call delay(110)
  2472.    signal FIFTY
  2473.   end
  2474. if Betty <= 5000 & Betty >= 1 then signal LATER
  2475. else call YO
  2476. signal FIFTY
  2477.  
  2478. LATER:
  2479. CALL MESSAGE " "
  2480. rnm = RANDOM(1,4,Time('s'))
  2481. if rnm = 1 | rnm = 3 then do
  2482.    money = money - Betty
  2483.    CALL MESSAGE YEL" You lost this time, bud!"
  2484.    CALL MESSAGE MAG" You lost $"WHI||Betty||MAG"."RESET
  2485.    CALL MESSAGE " "
  2486.    call delay(150)
  2487.    signal PLAYGEN
  2488.   end
  2489. if rnm = 2 | rnm = 4 then do
  2490.    CALL MESSAGE YEL" You Won!!!"
  2491.    CALL MESSAGE MAG" You won $"WHI||Betty*2||MAG"!"RESET
  2492.    money=money+(Betty*2)
  2493.    CALL MESSAGE " "
  2494.    call delay(150)
  2495.    signal PLAYGEN
  2496.   end
  2497. signal PLAYGEN
  2498.  
  2499. LOTTO:
  2500. if money <= 0 then do
  2501.    turnsleft = turnsleft + 1
  2502.    CALL MESSAGE CLS
  2503.    CALL MESSAGE " "
  2504.    CALL MESSAGE RED center("YOU NEED MONEY TO PLAY THIS GAME!",78)
  2505.    CALL MESSAGE " "
  2506.    call delay(150)
  2507.    signal VEGAS
  2508.   end
  2509. t = a
  2510. CALL MESSAGE CLS
  2511. CALL MESSAGE "                         "BLUCYA"   Playing the Lotto   "RESET
  2512. CALL MESSAGE " "
  2513. flag = f
  2514. CALL MESSAGE BLU" You have $"CYA||money||BLU".  Maximum bet is $"CYA"5000"BLU"."
  2515. prompt( CYA" How much money do you want to bet?: "RESET)
  2516. Wager=readstr()
  2517. if checkBBS() then signal BYE
  2518. if Wager = "Q" then signal VEGAS
  2519. if Wager > money then do
  2520.    CALL MESSAGE " "
  2521.    CALL MESSAGE RED center("YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!",78)
  2522.    CALL MESSAGE " "
  2523.    call delay(110)
  2524.    signal LOTTO
  2525.   end
  2526. if Wager > 5000 then do
  2527.    CALL MESSAGE " "
  2528.    CALL MESSAGE RED center("MAXIMUM BET IS $5000!",78)
  2529.    CALL MESSAGE " "
  2530.    call delay (110)
  2531.    signal LOTTO
  2532.   end
  2533. if Wager >= 1 & Wager <= 5000 then signal WEZ
  2534. else call YO
  2535. signal LOTTO
  2536.  
  2537. WEZ:
  2538. CALL MESSAGE " "
  2539. prompt( CYA" Bet "YEL||Wager||CYA" ("GRE"Y"CYA"/"RED"n"CYA")?: ")
  2540. okeydokey=readstr()
  2541. if checkBBS() then signal BYE
  2542. if okeydokey = "N" then signal LOTTO
  2543. signal GOON
  2544.  
  2545. GOON:
  2546. CALL MESSAGE CLS
  2547. CALL MESSAGE " "
  2548. CALL MESSAGE CYA center("Enter a number between 1 and 50, if that number comes up, you win",78)
  2549. CALL MESSAGE CYA center("five times that amount, if you lose, you get one last chance to",78)
  2550. CALL MESSAGE CYA center("enter a number between 1 and 50, if you win, you will get triple",78)
  2551. CALL MESSAGE CYA center("your bet.  If you win any of the two, you get a chance to go on",78)
  2552. CALL MESSAGE CYA center("to the finals where you get a chance to win 10 times your bet, but",78)
  2553. CALL MESSAGE CYA center("your chances are one in 60.",78)
  2554. CALL MESSAGE " "
  2555. if flag = lasttime then do
  2556.    CALL MESSAGE GRE center("This is your last chance to win your money back,",78)
  2557.    CALL MESSAGE GRE center("if you don't win, you just lose what you originally",78)
  2558.    CALL MESSAGE GRE center("betted, you won't lose more than you betted.",78)
  2559.    CALL MESSAGE " "
  2560.   end
  2561. prompt( MAG"   Enter a number between 1 & 50: ")
  2562. numb=readstr()
  2563. if checkBBS() then signal BYE
  2564. if numb <= 50 & numb >= 1 then signal WEENIE
  2565. else call YO
  2566. signal GOON
  2567.  
  2568. WEENIE:
  2569. CALL MESSAGE CLS
  2570. CALL MESSAGE " "
  2571. CALL MESSAGE " "
  2572. rannum = RANDOM(1,50,Time('s'))
  2573. CALL NOCR MAG " And, the number is... "RESET
  2574. call delay(50)
  2575. CALL MESSAGE rannum||MAG"!"RESET
  2576. CALL MESSAGE " "
  2577. if rannum = numb then do
  2578.    CALL MESSAGE YEL center("You Won!!!",78)
  2579.    CALL MESSAGE GRE center("       You won $"RESET||Wager*5||GRE"!!!",78)
  2580.    CALL MESSAGE MAG center("Good Job!!",78)
  2581.    if flag = f then money=money+(Wager*5)
  2582.    if flag = lasttime then money=money+(Wager*3)
  2583.    signal FINALDRAW
  2584.   end
  2585. if rannum ~= numb then do
  2586.    if flag = f then money = money - Wager
  2587.    CALL MESSAGE YEL center("Oh, to bad, you lose!",78)
  2588.    if flag = f then CALL MESSAGE GRE center("        You lost $"WHI||Wager||GRE".",78)
  2589.    if flag = lasttime then CALL MESSAGE GRE center("You didn't lose anything this time.",78)
  2590.    CALL MESSAGE MAG center("Oh well, better luck next time!",78)
  2591.    if flag = lasttime then do
  2592.       CALL MESSAGE RED center("You didn't win your money back!",78)
  2593.       call delay(170)
  2594.       signal PLAYGEN
  2595.   end
  2596. signal LASTCHANCE
  2597.  
  2598. FINALDRAW:
  2599. call delay(150)
  2600. randu = RANDOM(1,60,Time('s'))
  2601. CALL MESSAGE CLS
  2602. CALL MESSAGE RESET"    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *"
  2603. CALL MESSAGE " "
  2604. CALL MESSAGE "    *  "RED" You have made made it this far, now lets see if you"WHI"  *"
  2605. CALL MESSAGE RED"       can win the REALLY BIG bucks!"
  2606. CALL MESSAGE WHI"    *                                                        *"
  2607. CALL MESSAGE "    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *"RESET
  2608. CALL MESSAGE " "
  2609. call delay (200)
  2610. CALL MESSAGE BLU center("Using your winning number for the draw.",78)
  2611. CALL MESSAGE " "
  2612. CALL NOCR MAG"And... The winning number is... "RESET
  2613. call delay(50)
  2614. CALL MESSAGE randu||MAG"!"RESET
  2615. CALL MESSAGE " "
  2616. if randu = numb then do
  2617.    CALL MESSAGE YEL center("YOU WIN!!!",78)
  2618.    CALL MESSAGE GRE center("       You won $"WHI||Wager*10||GRE"!!",78)
  2619.    CALL MESSAGE RED center("GOOD JOB!",78)
  2620.    money=money+(Wager*10)
  2621.    CALL MESSAGE " "
  2622.    call writeln(news,handle' wins 'wager*10' in the lotto at vegas!')
  2623.    CALL MESSAGE CYA"The bright-red faced casino manager quickly ushers you out the door."
  2624.    CALL MESSAGE " "
  2625.    call delay(300)
  2626.    signal PLAYGEN
  2627.   end
  2628. if randu ~= numb then do
  2629.    CALL MESSAGE YEL center("Awww.. too bad, you lost.",78)
  2630.    CALL MESSAGE GRE center("But at least you didn't lose anything!",78)
  2631.    CALL MESSAGE RED center("Better luck next time!",78)
  2632.    CALL MESSAGE " "
  2633.    CALL MESSAGE CYA"The relieved casino manager asks you to come back anytime."
  2634.    CALL MESSAGE " "
  2635.    call delay(200)
  2636.    signal PLAYGEN
  2637.   end
  2638. signal PLAYGEN
  2639.  
  2640. PLAYGEN:
  2641. CALL MESSAGE CLS
  2642. CALL MESSAGE " "
  2643. prompt( CYA" Would you like to play again ("GRE"y"CYA"/"RED"N"CYA")? ")
  2644. comegen=readstr()
  2645. if checkBBS() then signal BYE
  2646. if comegen = "N" then signal VEGAS
  2647. if comegen = "Y" then do
  2648.    if t = a then signal LOTTO
  2649.    if t = b then signal FIFTY
  2650. end
  2651. signal VEGAS
  2652.  
  2653. LASTCHANCE:
  2654. call delay(150)
  2655. flag = lasttime
  2656. signal GOON
  2657.  
  2658. YO:
  2659.    CALL MESSAGE CLS
  2660.    CALL MESSAGE " "
  2661.    CALL MESSAGE RED center("YOUR ANSWER MUST BE A NUMBER BETWEEN 1 AND 50!",78)
  2662.    CALL MESSAGE " "
  2663.    call delay(110)
  2664.    return
  2665.  
  2666. BUYORSELLW:
  2667. CALL MESSAGE CLS
  2668. CALL MESSAGE " "
  2669. if weapon~='' then CALL MESSAGE CYA" Your current weapon is a "weapon"."RESET
  2670. /*
  2671. if weapon = wep1 then CALL MESSAGE CYA" Your current weapon is a "wep1"."RESET
  2672. if weapon = wep2 then CALL MESSAGE CYA" Your current weapon is a "wep2"."RESET
  2673. if weapon = wep3 then CALL MESSAGE CYA" Your current weapon is a "wep3"."RESET
  2674. if weapon = wep4 then CALL MESSAGE CYA" Your current weapon is a "wep4"."RESET
  2675. if weapon = wep5 then CALL MESSAGE CYA" Your current weapon is a "wep5"."RESET
  2676. if weapon = wep6 then CALL MESSAGE CYA" Your current weapons are "wep6"."RESET
  2677. if weapon = wep7 then CALL MESSAGE CYA" Your current weapon is a "wep7"."RESET
  2678. if weapon = wep8 then CALL MESSAGE CYA" Your current weapon is a "wep8"."RESET
  2679. if weapon = wep9 then CALL MESSAGE CYA" Your current weapon is a "wep9"."RESET
  2680. if weapon = wep10 then CALL MESSAGE CYA " Your current weapon is a "wep10"."RESET
  2681. if weapon = wep11 then CALL MESSAGE CYA " Your current weapon is a "wep11"."RESET
  2682. if weapon = wep12 then CALL MESSAGE CYA " Your current weapon is a "wep12"."RESET
  2683. */
  2684. CALL MESSAGE " "
  2685. prompt( GRE" Buy or Sell your weapon (B/S)? "RESET)
  2686. Choice=readstr()
  2687. if checkBBS() then signal BYE
  2688. if Choice = B then signal BUYWEAPON
  2689. if Choice = S then signal SELLWEAPON
  2690. if Choice = Q then signal MENU
  2691. signal MENU
  2692.  
  2693. BUYORSELLA:
  2694. CALL MESSAGE CLS
  2695. CALL MESSAGE " "
  2696. if armor~='' THEN  CALL MESSAGE CYA" Your current vehicle is a "armor"."RESET
  2697. /*
  2698. if armor = arm1 then CALL MESSAGE CYA" Your current vehicle is a "arm1"."RESET
  2699. if armor = arm2 then CALL MESSAGE CYA" Your current vehicle is a "arm2"."RESET
  2700. if armor = arm3 then CALL MESSAGE CYA" Your current vehicle is a "arm3"."RESET
  2701. if armor = arm4 then CALL MESSAGE CYA" Your current vehicle is a "arm4"."RESET
  2702. if armor = arm5 then CALL MESSAGE CYA" Your current vehicle is a "arm5"."RESET
  2703. if armor = arm6 then CALL MESSAGE CYA" Your current vehicle is a "arm6"."RESET
  2704. if armor = arm7 then CALL MESSAGE CYA" Your current vehicle is a "arm7"."RESET
  2705. if armor = arm8 then CALL MESSAGE CYA" Your current vehicle is a "arm8"."RESET
  2706. if armor = arm9 then CALL MESSAGE CYA" Your current vehicle is a "arm9"."RESET
  2707. if armor = arm10 then CALL MESSAGE CYA " Your current vehicle is a "arm10"."RESET
  2708. if armor = arm11 then CALL MESSAGE CYA " Your current vehicle is a "arm11"."RESET
  2709. if armor = arm12 then CALL MESSAGE CYA " Your current vehicle is a "arm12"."RESET
  2710. */
  2711. CALL MESSAGE " "
  2712. prompt( GRE" Buy or Sell your vehicle (B/S)? "RESET)
  2713. Choice=readstr()
  2714. if checkBBS() then signal BYE
  2715. if Choice = B then signal BUYARMOR
  2716. if Choice = S then signal SELLARMOR
  2717. if Choice = Q then signal MENU
  2718. signal MENU
  2719.  
  2720. BUYWEAPON:
  2721. w = b
  2722. CALL MESSAGE CLS
  2723. CALL MESSAGE "                   "BluCya"  Macy's Department Store Weapons  "RESET
  2724. CALL MESSAGE BLU" ----------------------------------------------------------------------"
  2725. CALL MESSAGE YEL"   A."MAG" Squirt Gun                         "RED"Rank:"MAG" 1   "GRE" Price:"MAG" $100   "
  2726. CALL MESSAGE YEL"   B."MAG" Spitwad Launcher                   "RED"Rank:"MAG" 2   "GRE" Price:"MAG" $2000  "
  2727. CALL MESSAGE YEL"   C."MAG" Frisbee                            "RED"Rank:"MAG" 3   "GRE" Price:"MAG" $10000  "
  2728. CALL MESSAGE YEL"   D."MAG" Laser Tag Gun                      "RED"Rank:"MAG" 4   "GRE" Price:"MAG" $25000 "
  2729. CALL MESSAGE YEL"   E."MAG" Paint Ball Gun                     "RED"Rank:"MAG" 5   "GRE" Price:"MAG" $40000 "
  2730. CALL MESSAGE YEL"   F."MAG" Darts                              "RED"Rank:"MAG" 6   "GRE" Price:"MAG" $55000 "
  2731. CALL MESSAGE YEL"   G."MAG" Baseball                           "RED"Rank:"MAG" 7   "GRE" Price:"MAG" $75000 "
  2732. CALL MESSAGE YEL"   H."MAG" Bart Simpson Doll                  "RED"Rank:"MAG" 8   "GRE" Price:"MAG" $85000 "
  2733. CALL MESSAGE YEL"   I."MAG" Chainsaw                           "RED"Rank:"MAG" 9   "GRE" Price:"MAG" $100000"
  2734. CALL MESSAGE YEL"   J."MAG" Teenage Mutant Ninja Turtles Doll  "RED"Rank:"MAG" 10  "GRE" Price:"MAG" $200000"
  2735. CALL MESSAGE YEL"   K."MAG" New Kids On The Block Poster       "RED"Rank:"MAG" 11  "GRE" Price:"MAG" $420000"
  2736. CALL MESSAGE YEL"   L."MAG" New Kids On The Block CD           "RED"Rank:"MAG" 12  "GRE" Price:"MAG" $750000"RESET
  2737. CALL MESSAGE YEL"   M."MAG" Atomic Can-Opener                  "RED"Rank:"MAG" 13  "GRE" Price:"MAG" $1400000"RESET
  2738. CALL MESSAGE YEL"   N."MAG" Guile (here you can buy Wisdom?-)  "RED"Rank:"MAG" 14  "GRE" Price:"MAG" $3000000"RESET
  2739. CALL MESSAGE " "
  2740. CALL MESSAGE WHI"                               Press Q To Quit      "
  2741. CALL MESSAGE " "
  2742. prompt( CYA"You have $"WHI||money||CYA".  What weapon do you want?"BLU"> "RESET)
  2743. Choice=readstr()
  2744. if checkBBS() then signal BYE
  2745. if Choice = "Q" then signal MENU
  2746. if Choice = "A" then do
  2747.    if weapon = wep1 then signal ALREADYHAVE
  2748.    if money < 10 then signal NOMONEY
  2749.    money = money - 10
  2750.    weapon = wep1
  2751.    call BOT
  2752.   end
  2753. if Choice = "B" then do
  2754.    if weapon = wep2 then signal ALREADYHAVE
  2755.    if money < 2000 then signal NOMONEY
  2756.    money = money - 2000
  2757.    weapon = wep2
  2758.    call BOT
  2759.   end
  2760. if Choice = "C" then do
  2761.    if weapon = wep3 then signal ALREADYHAVE
  2762.    if money < 10000 then signal NOMONEY
  2763.    money = money - 10000
  2764.    weapon = wep3
  2765.    call BOT
  2766.   end
  2767. if Choice = "D" then do
  2768.    if weapon = wep4 then signal ALREADYHAVE
  2769.    if money < 25000 then signal NOMONEY
  2770.    money = money - 25000
  2771.    weapon = wep4
  2772.    call BOT
  2773.   end
  2774. if Choice = "E" then do
  2775.    if weapon = wep5 then signal ALREADYHAVE
  2776.    if money < 40000 then signal NOMONEY
  2777.    money = money - 40000
  2778.    weapon = wep5
  2779.    call BOT
  2780.   end
  2781. if Choice = "F" then do
  2782.    if weapon = wep6 then signal ALREADYHAVE
  2783.    if money < 55000 then signal NOMONEY
  2784.    money = money - 55000
  2785.    weapon = wep6
  2786.    call BOT
  2787.   end
  2788. if Choice = "G" then do
  2789.    if weapon = wep7 then signal ALREADYHAVE
  2790.    if money < 75000 then signal NOMONEY
  2791.    money = money - 75000
  2792.    weapon = wep7
  2793.    call BOT
  2794.   end
  2795. if Choice = "H" then do
  2796.    if weapon = wep8 then signal ALREADYHAVE
  2797.    if money < 85000 then signal NOMONEY
  2798.    money = money - 85000
  2799.    weapon = wep8
  2800.    call BOT
  2801.   end
  2802. if Choice = "I" then do
  2803.    if weapon = wep9 then signal ALREADYHAVE
  2804.    if money < 100000 then signal NOMONEY
  2805.    money = money - 100000
  2806.    weapon = wep9
  2807.    call BOT
  2808.   end
  2809. if Choice = "J" then do
  2810.    if weapon = wep10 then signal ALREADYHAVE
  2811.    if money < 200000 then signal NOMONEY
  2812.    money = money - 200000
  2813.    weapon = wep10
  2814.    call BOT
  2815.   end
  2816. if Choice = "K" then do
  2817.    if weapon = wep11 then signal ALREADYHAVE
  2818.    if money < 420000 then signal NOMONEY
  2819.    money = money - 420000
  2820.    weapon = wep11
  2821.    call BOT
  2822.   end
  2823. if Choice = "L" then do
  2824.    if weapon = wep12 then signal ALREADYHAVE
  2825.    if money < 750000 then signal NOMONEY
  2826.    money = money - 750000
  2827.    weapon = wep12
  2828.    call BOT
  2829.   end
  2830. if Choice = "M" then do
  2831.    if weapon = wep13 then signal ALREADYHAVE
  2832.    if money < 1400000 then signal NOMONEY
  2833.    money = money - 1400000
  2834.    weapon = wep13
  2835.    call BOT
  2836.   end
  2837. if Choice = "N" then do
  2838.    if weapon = wep14 then signal ALREADYHAVE
  2839.    if money < 3000000 then signal NOMONEY
  2840.    money = money - 3000000
  2841.    weapon = wep14
  2842.    call BOT
  2843.   end
  2844. signal BUYWEAPON
  2845.  
  2846. BUYARMOR:
  2847. w = a
  2848. CALL MESSAGE CLS
  2849. CALL MESSAGE "                  "BluCya"  Macy's Department Store Vehicles  "RESET
  2850. CALL MESSAGE BLU" ----------------------------------------------------------------------"
  2851. CALL MESSAGE YEL"   A."MAG" Barbie Ferrari                     "RED"Rank:"MAG" 1   "GRE" Price:"MAG" $100   "
  2852. CALL MESSAGE YEL"   B."MAG" Roller Skates                      "RED"Rank:"MAG" 2   "GRE" Price:"MAG" $2000  "
  2853. CALL MESSAGE YEL"   C."MAG" Vision Skateboard                  "RED"Rank:"MAG" 3   "GRE" Price:"MAG" $10000  "
  2854. CALL MESSAGE YEL"   D."MAG" Go-Cart                            "RED"Rank:"MAG" 4   "GRE" Price:"MAG" $25000 "
  2855. CALL MESSAGE YEL"   E."MAG" 10-Speed Bike                      "RED"Rank:"MAG" 5   "GRE" Price:"MAG" $40000 "
  2856. CALL MESSAGE YEL"   F."MAG" Suzuki Motorbike                   "RED"Rank:"MAG" 6   "GRE" Price:"MAG" $55000 "
  2857. CALL MESSAGE YEL"   G."MAG" BMW Motorcycle                     "RED"Rank:"MAG" 7   "GRE" Price:"MAG" $75000 "
  2858. CALL MESSAGE YEL"   H."MAG" Yugo                               "RED"Rank:"MAG" 8   "GRE" Price:"MAG" $85000 "
  2859. CALL MESSAGE YEL"   I."MAG" Volkswagon                         "RED"Rank:"MAG" 9   "GRE" Price:"MAG" $100000"
  2860. CALL MESSAGE YEL"   J."MAG" Ferrari F40                        "RED"Rank:"MAG" 10  "GRE" Price:"MAG" $200000"
  2861. CALL MESSAGE YEL"   K."MAG" Corvette Mako Shark                "RED"Rank:"MAG" 11  "GRE" Price:"MAG" $420000"
  2862. CALL MESSAGE YEL"   L."MAG" Stealth Bomber                     "RED"Rank:"MAG" 12  "GRE" Price:"MAG" $750000"RESET
  2863. CALL MESSAGE YEL"   M."MAG" Nulcear Submarine                  "RED"Rank:"MAG" 13  "GRE" Price:"MAG" $1400000"RESET
  2864. CALL MESSAGE YEL"   N."MAG" Starship USS Enterprise            "RED"Rank:"MAG" 14  "GRE" Price:"MAG" $3000000"RESET
  2865. CALL MESSAGE " "
  2866. CALL MESSAGE WHI"                               Press Q To Quit      "
  2867. CALL MESSAGE " "
  2868. prompt( CYA"You have $"WHI||money||CYA".  What vehicle do you want?"BLU"> "RESET)
  2869. Choice=readstr()
  2870. if checkBBS() then signal BYE
  2871. if Choice = "Q" then signal MENU
  2872. if Choice = "A" then do
  2873.    if armor = arm1 then signal ALREADYHAVEA
  2874.    if money < 10 then signal NOMONEYA
  2875.    money = money - 10
  2876.    armor = arm1
  2877.    call BOT
  2878.   end
  2879. if Choice = "B" then do
  2880.    if armor = arm2 then signal ALREADYHAVEA
  2881.    if money < 2000 then signal NOMONEYA
  2882.    money = money - 2000
  2883.    armor = arm2
  2884.    call BOT
  2885.   end
  2886. if Choice = "C" then do
  2887.    if armor = arm3 then signal ALREADYHAVEA
  2888.    if money < 10000 then signal NOMONEYA
  2889.    money = money - 10000
  2890.    armor = arm3
  2891.    call BOT
  2892.   end
  2893. if Choice = "D" then do
  2894.    if armor = arm4 then signal ALREADYHAVEA
  2895.    if money < 25000 then signal NOMONEYA
  2896.    money = money - 25000
  2897.    armor = arm4
  2898.    call BOT
  2899.   end
  2900. if Choice = "E" then do
  2901.    if armor = arm5 then signal ALREADYHAVEA
  2902.    if money < 40000 then signal NOMONEYA
  2903.    money = money - 40000
  2904.    armor = arm5
  2905.    call BOT
  2906.   end
  2907. if Choice = "F" then do
  2908.    if armor = arm6 then signal ALREADYHAVEA
  2909.    if money < 55000 then signal NOMONEYA
  2910.    money = money - 55000
  2911.    armor = arm6
  2912.    call BOT
  2913.   end
  2914. if Choice = "G" then do
  2915.    if armor = arm7 then signal ALREADYHAVEA
  2916.    if money < 75000 then signal NOMONEYA
  2917.    money = money - 75000
  2918.    armor = arm7
  2919.    call BOT
  2920.   end
  2921. if Choice = "H" then do
  2922.    if armor = arm8 then signal ALREADYHAVEA
  2923.    if money < 85000 then signal NOMONEYA
  2924.    money = money - 85000
  2925.    armor = arm8
  2926.    call BOT
  2927.   end
  2928. if Choice = "I" then do
  2929.    if armor = arm9 then signal ALREADYHAVEA
  2930.    if money < 100000 then signal NOMONEYA
  2931.    money = money - 100000
  2932.    armor = arm9
  2933.    call BOT
  2934.   end
  2935. if Choice = "J" then do
  2936.    if armor = arm10 then signal ALREADYHAVEA
  2937.    if money < 200000 then signal NOMONEYA
  2938.    money = money - 200000
  2939.    armor = arm10
  2940.    call BOT
  2941.   end
  2942. if Choice = "K" then do
  2943.    if armor = arm11 then signal ALREADYHAVEA
  2944.    if money < 420000 then signal NOMONEYA
  2945.    money = money - 420000
  2946.    armor = arm11
  2947.    call BOT
  2948.   end
  2949. if Choice = "L" then do
  2950.    if armor = arm12 then signal ALREADYHAVEA
  2951.    if money < 750000 then signal NOMONEYA
  2952.    money = money - 750000
  2953.    armor = arm12
  2954.    call BOT
  2955.   end
  2956. if Choice = "M" then do
  2957.    if armor = arm13 then signal ALREADYHAVEA
  2958.    if money < 1400000 then signal NOMONEYA
  2959.    money = money - 1400000
  2960.    armor = arm13
  2961.    call BOT
  2962.   end
  2963. if Choice = "N" then do
  2964.    if armor = arm14 then signal ALREADYHAVEA
  2965.    if money < 3000000 then signal NOMONEYA
  2966.    money = money - 3000000
  2967.    armor = arm14
  2968.    call BOT
  2969.   end
  2970. signal BUYARMOR
  2971.  
  2972. BOT:
  2973. CALL MESSAGE CLS
  2974. CALL MESSAGE " "
  2975. if w = a then CALL MESSAGE MAG center("You have bought a "WHI||armor||MAG"!",78)
  2976. if w = b then CALL MESSAGE MAG center("You have bought a "WHI||weapon||MAG"!",78)
  2977. CALL MESSAGE " "
  2978. call delay(110)
  2979. return
  2980.  
  2981. SELLWEAPON:
  2982. CALL MESSAGE " "
  2983. CALL MESSAGE MAG" Macy's will take your weapon for half price."RESET
  2984. CALL MESSAGE " "
  2985. prompt( YEL"Are You Sure (y/N)? "RESET)
  2986. Choice=readstr()
  2987. if checkBBS() then signal BYE
  2988. CALL MESSAGE " "
  2989. if Choice = "Y" then do
  2990.    if weapon = wep1 then do
  2991.       CALL MESSAGE RED"Macy's won't take that piece of junk!"
  2992.       call delay(110)
  2993.       signal MENU
  2994.      end
  2995.    if weapon = wep2 then do
  2996.       CALL MESSAGE CYA"Macy's pays you $1000!"
  2997.       weapon = wep1
  2998.       money = money + 1000
  2999.       call delay(110)
  3000.       signal MENU
  3001.      end
  3002.    if weapon = wep3 then do
  3003.       CALL MESSAGE CYA"Macy's pays you $5000!"
  3004.       weapon = wep1
  3005.       money = money + 5000
  3006.       call delay(110)
  3007.       signal MENU
  3008.      end
  3009.    if weapon = wep4 then do
  3010.       CALL MESSAGE CYA"Macy's pays you $12500!"
  3011.       weapon = wep1
  3012.       money = money + 12500
  3013.       call delay(110)
  3014.       signal MENU
  3015.      end
  3016.    if weapon = wep5 then do
  3017.       CALL MESSAGE CYA"Macy's pays you $20000!"
  3018.       weapon = wep1
  3019.       money = money + 20000
  3020.       call delay(110)
  3021.       signal MENU
  3022.      end
  3023.    if weapon = wep6 then do
  3024.       CALL MESSAGE CYA"Macy's pays you $27500!"
  3025.       weapon = wep1
  3026.       money = money + 27500
  3027.       call delay(110)
  3028.       signal MENU
  3029.      end
  3030.    if weapon = wep7 then do
  3031.       CALL MESSAGE CYA"Macy's pays you $37500!"
  3032.       weapon = wep1
  3033.       money = money + 37500
  3034.       call delay(110)
  3035.       signal MENU
  3036.      end
  3037.    if weapon = wep8 then do
  3038.       CALL MESSAGE CYA"Macy's pays you $42500!"
  3039.       weapon = wep1
  3040.       money = money + 42500
  3041.       call delay(110)
  3042.       signal MENU
  3043.      end
  3044.    if weapon = wep9 then do
  3045.       CALL MESSAGE CYA"Macy's pays you $50000!"
  3046.       weapon = wep1
  3047.       money = money + 50000
  3048.       call delay(110)
  3049.       signal MENU
  3050.      end
  3051.    if weapon = wep10 then do
  3052.       CALL MESSAGE CYA"Macy's pays you $100000!"
  3053.       weapon = wep1
  3054.       money = money + 100000
  3055.       call delay(110)
  3056.       signal MENU
  3057.      end
  3058.    if weapon = wep11 then do
  3059.       CALL MESSAGE CYA"Macy's pays you $210000!"
  3060.       weapon = wep1
  3061.       money = money + 210000
  3062.       call delay(110)
  3063.       signal MENU
  3064.      end
  3065.    if weapon = wep12 then do
  3066.       CALL MESSAGE CYA"Macy's pays you $375000!"
  3067.       weapon = wep1
  3068.       money = money + 375000
  3069.       call delay(110)
  3070.       signal MENU
  3071.      end
  3072.    if weapon = wep13 then do
  3073.       CALL MESSAGE CYA"Macy's pays you $700000!"
  3074.       weapon = wep1
  3075.       money = money + 700000
  3076.       call delay(110)
  3077.       signal MENU
  3078.      end
  3079.    if weapon = wep14 then do
  3080.       CALL MESSAGE CYA"Macy's pays you $1500000!"
  3081.       weapon = wep1
  3082.       money = money + 1500000
  3083.       call delay(110)
  3084.       signal MENU
  3085.      end
  3086.    end
  3087. signal MENU
  3088.  
  3089. SELLARMOR:
  3090. CALL MESSAGE " "
  3091. CALL MESSAGE MAG" Macy's will take your vehicle for half price."RESET
  3092. CALL MESSAGE " "
  3093. prompt( YEL"Are You Sure (y/N)? "RESET)
  3094. Choice=readstr()
  3095. if checkBBS() then signal BYE
  3096. CALL MESSAGE " "
  3097. if Choice = "Y" then do
  3098.    if armor = arm1 then do
  3099.       CALL MESSAGE RED"Macy's won't take that piece of junk!"
  3100.       call delay(110)
  3101.       signal MENU
  3102.      end
  3103.    if armor = arm2 then do
  3104.       CALL MESSAGE CYA"Macy's pays you $1000!"
  3105.       armor = arm1
  3106.       money = money + 1000
  3107.       call delay(110)
  3108.       signal MENU
  3109.      end
  3110.    if armor = arm3 then do
  3111.       CALL MESSAGE CYA"Macy's pays you $5000!"
  3112.       armor = arm1
  3113.       money = money + 5000
  3114.       call delay(110)
  3115.       signal MENU
  3116.      end
  3117.    if armor = arm4 then do
  3118.       CALL MESSAGE CYA"Macy's pays you $12500!"
  3119.       armor = arm1
  3120.       money = money + 12500
  3121.       call delay(110)
  3122.       signal MENU
  3123.      end
  3124.    if armor = arm5 then do
  3125.       CALL MESSAGE CYA"Macy's pays you $20000!"
  3126.       armor = arm1
  3127.       money = money + 20000
  3128.       call delay(110)
  3129.       signal MENU
  3130.      end
  3131.    if armor = arm6 then do
  3132.       CALL MESSAGE CYA"Macy's pays you $27500!"
  3133.       armor = arm1
  3134.       money = money + 27500
  3135.       call delay(110)
  3136.       signal MENU
  3137.      end
  3138.    if armor = arm7 then do
  3139.       CALL MESSAGE CYA"Macy's pays you $37500!"
  3140.       armor = arm1
  3141.       money = money + 37500
  3142.       call delay(110)
  3143.       signal MENU
  3144.      end
  3145.    if armor = arm8 then do
  3146.       CALL MESSAGE CYA"Macy's pays you $42500!"
  3147.       armor = arm1
  3148.       money = money + 42500
  3149.       call delay(110)
  3150.       signal MENU
  3151.      end
  3152.    if armor = arm9 then do
  3153.       CALL MESSAGE CYA"Macy's pays you $50000!"
  3154.       armor = arm1
  3155.       money = money + 50000
  3156.       call delay(110)
  3157.       signal MENU
  3158.      end
  3159.    if armor = arm10 then do
  3160.       CALL MESSAGE CYA"Macy's pays you $100000!"
  3161.       armor = arm1
  3162.       money = money + 100000
  3163.       call delay(110)
  3164.       signal MENU
  3165.      end
  3166.    if armor = arm11 then do
  3167.       CALL MESSAGE CYA"Macy's pays you $210000!"
  3168.       armor = arm1
  3169.       money = money + 210000
  3170.       call delay(110)
  3171.       signal MENU
  3172.      end
  3173.    if armor = arm12 then do
  3174.       CALL MESSAGE CYA"Macy's pays you $375000!"
  3175.       armor = arm1
  3176.       money = money + 375000
  3177.       call delay(110)
  3178.       signal MENU
  3179.      end
  3180.    if armor = arm13 then do
  3181.       CALL MESSAGE CYA"Macy's pays you $700000!"
  3182.       armor = arm1
  3183.       money = money + 700000
  3184.       call delay(110)
  3185.       signal MENU
  3186.      end
  3187.    if armor = arm14 then do
  3188.       CALL MESSAGE CYA"Macy's pays you $1500000!"
  3189.       armor = arm1
  3190.       money = money + 1500000
  3191.       call delay(110)
  3192.       signal MENU
  3193.      end
  3194.    end
  3195. signal MENU
  3196.  
  3197. ALREADYHAVE:
  3198. CALL MESSAGE CLS
  3199. CALL MESSAGE " "
  3200. CALL MESSAGE RED" YOU ALREADY HAVE THAT WEAPON! "RESET
  3201. call delay(150)
  3202. signal BUYWEAPON
  3203.  
  3204. NOMONEY:
  3205. CALL MESSAGE CLS
  3206. CALL MESSAGE " "
  3207. CALL MESSAGE RED" YOU DON'T HAVE ENOUGH MONEY TO BUY THAT WEAPON!"
  3208. if money = 0 then CALL MESSAGE MAG" --You don't have any money!"
  3209. call delay(150)
  3210. signal BUYWEAPON
  3211.  
  3212. ALREADYHAVEA:
  3213. CALL MESSAGE CLS
  3214. CALL MESSAGE " "
  3215. CALL MESSAGE RED" YOU ALREADY HAVE THAT VEHICLE! "RESET
  3216. call delay(150)
  3217. signal BUYARMOR
  3218.  
  3219. P2:
  3220. CALL MESSAGE " "
  3221. prompt( WHI"O"RED"k"GRE" D"YEL"a"BLU"v"MAG"i"CYA"d"WHI","RED" e"GRE"n"YEL"t"BLU"e"MAG"r"CYA" p"WHI"a"RED"s"YEL"s"BLU"w"MAG"o"CYA"r"WHI"d "RED"#"GRE"2"YEL"!"BLU": ")
  3222. pass=readstr()
  3223. if checkBBS() then signal BYE
  3224. if pass = "206-744-1254" then signal CHEATIT
  3225. signal MENU
  3226.  
  3227. NOMONEYA:
  3228. CALL MESSAGE CLS
  3229. CALL MESSAGE " "
  3230. CALL MESSAGE RED" YOU DON'T HAVE ENOUGH MONEY TO BUY THAT VEHICLE!"
  3231. if money = 0 then CALL MESSAGE MAG" --You don't have any money!"
  3232. call delay(150)
  3233. signal BUYARMOR
  3234.  
  3235. QUIT:
  3236. CALL MESSAGE " "
  3237. prompt( CYA"Are you sure ("GRE"n"CYA"/"RED"Y"CYA")? "RESET)
  3238. Choice=readstr()
  3239. if checkBBS() then signal BYE
  3240. if Choice~='N' then do
  3241.  
  3242. QUIT2:
  3243.    CALL MESSAGE CLS
  3244.    call close(news)
  3245.    CALL MESSAGE " "
  3246.    CALL MESSAGE BluCya"Saving Stats..."RESET
  3247.    call POINTCK
  3248.    call open(Fill,datapath||handle'.DAT','W')
  3249.    call writeln(Fill,turnsleft)
  3250.    call writeln(Fill,maxpoints)
  3251.    call writeln(Fill,hitpoints)
  3252.    call writeln(Fill,points)
  3253.    call writeln(Fill,money)
  3254.    call writeln(Fill,armor)
  3255.    call writeln(Fill,weapon)
  3256.    call writeln(Fill,rank)
  3257.    call writeln(Fill,canfight)
  3258.    call writeln(Fill,date)
  3259.    call writeln(Fill,deadf)
  3260.    call writeln(Fill,killer)
  3261.    call writeln(Fill,kills)
  3262.    call writeln(Fill,bmoney)
  3263.    call close(Fill)
  3264.    CALL MESSAGE " "
  3265.    CALL MESSAGE BluCya"Saved."RESET
  3266.    CALL MESSAGE " "
  3267.    CALL MESSAGE GRE"Calculating High Scores..."
  3268.    call CHECKHI
  3269.    CALL MESSAGE " "
  3270.    CALL MESSAGE RED center("Returning to "bbsname"...",78)
  3271.    CALL MESSAGE RESET
  3272.    call delay(110)
  3273.    signal DIE
  3274. end
  3275. CALL MESSAGE " "
  3276. CALL MESSAGE CYA"Returning To Main..."RESET
  3277. turnsleft = turnsleft + 1
  3278. call delay(30)
  3279. signal MENU
  3280.  
  3281. OUTTAHERE:
  3282. CALL MESSAGE CLS
  3283. CALL MESSAGE " "
  3284. call close(news)
  3285. CALL MESSAGE BluCya"Saving Stats..."RESET
  3286. call POINTCK
  3287. call open(Fill,datapath||handle'.DAT','W')
  3288. call writeln(Fill,turnsleft)
  3289. call writeln(Fill,maxpoints)
  3290. call writeln(Fill,hitpoints)
  3291. call writeln(Fill,points)
  3292. call writeln(Fill,money)
  3293. call writeln(Fill,armor)
  3294. call writeln(Fill,weapon)
  3295. call writeln(Fill,rank)
  3296. call writeln(Fill,canfight)
  3297. call writeln(Fill,date)
  3298. call writeln(Fill,deadf)
  3299. call writeln(Fill,killer)
  3300. call writeln(Fill,kills)
  3301. call writeln(Fill,bmoney)
  3302. call close(Fill)
  3303. CALL MESSAGE " "
  3304. CALL MESSAGE BluCya"Saved."RESET
  3305. CALL MESSAGE " "
  3306. CALL MESSAGE GRE"Calculating High Scores..."
  3307. call CHECKHI
  3308. CALL MESSAGE " "
  3309. CALL MESSAGE RED center("Returning to "bbsname"...",78)
  3310. CALL MESSAGE RESET
  3311. call delay(110)
  3312. signal DIE
  3313.  
  3314. BYE:
  3315. call close(news)
  3316. call POINTCK
  3317. call open(File,datapath||handle'.DAT','W')
  3318. call writeln(File,turnsleft)
  3319. call writeln(File,maxpoints)
  3320. call writeln(File,hitpoints)
  3321. call writeln(File,points)
  3322. call writeln(File,money)
  3323. call writeln(File,armor)
  3324. call writeln(File,weapon)
  3325. call writeln(File,rank)
  3326. call writeln(File,canfight)
  3327. call writeln(File,date)
  3328. call writeln(File,deadf)
  3329. call writeln(File,killer)
  3330. call writeln(File,kills)
  3331. call writeln(File,bmoney)
  3332. call close(File)
  3333. call CHECKHI
  3334. signal DIE
  3335.  
  3336. POINTCK:
  3337. call EVENER
  3338. if turnsleft = '' then turnsleft = 2
  3339. if maxturns = 21 then maxturns = 26
  3340. if maxturns = '' then maxturns = 26
  3341. if canfight = '' then canfight = 4
  3342. if deadf = '' then deadf = 0
  3343. if killer = '' then killer = "NOBODY"
  3344. if weapon = '' then weapon = wep1
  3345. if weapon = wep1 then po1 = 100
  3346. if weapon = wep2 then po1 = 200
  3347. if weapon = wep3 then po1 = 400
  3348. if weapon = wep4 then po1 = 800
  3349. if weapon = wep5 then po1 = 1600
  3350. if weapon = wep6 then po1 = 3200
  3351. if weapon = wep7 then po1 = 6400
  3352. if weapon = wep8 then po1 = 12800
  3353. if weapon = wep9 then po1 = 25600
  3354. if weapon = wep10 then po1 = 51200
  3355. if weapon = wep11 then po1 = 102400
  3356. if weapon = wep12 then po1 = 204800
  3357. if weapon = wep13 then po1 = 409600
  3358. if weapon = wep14 then po1 = 819200
  3359. if armor = '' then armor = arm1
  3360. if armor = arm1 then po2 = 100
  3361. if armor = arm2 then po2 = 200
  3362. if armor = arm3 then po2 = 400
  3363. if armor = arm4 then po2 = 800
  3364. if armor = arm5 then po2 = 1600
  3365. if armor = arm6 then po2 = 3200
  3366. if armor = arm7 then po2 = 6400
  3367. if armor = arm8 then po2 = 12800
  3368. if armor = arm9 then po2 = 25600
  3369. if armor = arm10 then po2 = 51200
  3370. if armor = arm11 then po2 = 102400
  3371. if armor = arm12 then po2 = 204800
  3372. if armor = arm13 then po2 = 409600
  3373. if armor = arm14 then po2 = 819200
  3374. if bmoney = '' then bmoney = 0
  3375. if money = '' then money = 0
  3376. po3 = money + bmoney
  3377. if rank = '' then rank = ran1
  3378. if rank = ran1 then po4 = 500
  3379. if rank = ran2 then po4 = 1000
  3380. if rank = ran3 then po4 = 2000
  3381. if rank = ran4 then po4 = 4000
  3382. if rank = ran5 then po4 = 6000
  3383. if rank = ran6 then po4 = 8000
  3384. if rank = ran7 then po4 = 10000
  3385. if rank = ran8 then po4 = 15000
  3386. if rank = ran9 then po4 = 30000
  3387. if rank = ran10 then po4 = 45000
  3388. if rank = ran11 then po4 = 60000
  3389. if rank = ran12 then po4 = 80000
  3390. if rank = ran13 then po4 = 90000
  3391. if rank = ran14 then po4 = 100000
  3392. if hitpoints = '' then hitpoints = 30
  3393. po5 = hitpoints * 10
  3394. if maxpoints = '' then maxpoints = 30
  3395. po6 = maxpoints * 10
  3396. if ~DATATYPE(kills,'N') then kills = 0
  3397. po7 = kills * 1000
  3398. /* say po1'-'po2'-'po3'-'po4'-'po5'-'po6'-'po7 */
  3399. points=po1+po2+po3+po4+po5+po6+po7
  3400. return
  3401.  
  3402. CHECKHI:
  3403. call HICL
  3404. call open(play,datapath'Players','W')
  3405. do i = 1 to howm
  3406.    if PRank.i ~= -1 then do
  3407.     call writeln(play,PRank.i' 'PHandle.i)
  3408.    end
  3409. end
  3410. call close(play)
  3411. call open(dc,datapath'STATS','W')
  3412. call writeln(dc,date)
  3413. call writeln(dc,day)
  3414. call writeln(dc,howm)
  3415. call close(dc)
  3416. call HICK
  3417. call open(top10,datapath'TopOnes','W')
  3418. do i = 1 to 10
  3419. call writeln(top10,topscore.i' 'topalias.i)
  3420. end
  3421. call close(top10)
  3422. return
  3423.  
  3424. DIE:
  3425. exit
  3426.  
  3427. SLITS:           /* Thanks a lot for some of this routine Mike! */
  3428. ESC = ''
  3429. RESET = ''
  3430. CLL = '                                                                     '
  3431. POS = 'H'
  3432. POS1 = 'H'
  3433. POS2 = 'H'
  3434. POS3 = 'H'
  3435. POS4 = 'H'
  3436. POS5 = 'H'
  3437. POS6 = 'H'
  3438. POS7 = 'H'
  3439. POS8 = '5H'
  3440. POS9 = '5H'
  3441. POS10 = '5H'
  3442. POS11 = '5H'
  3443. POS12 = '5H'
  3444. POS13 = '5H'
  3445. POS14 = '5H'
  3446. POS15 = '5H'
  3447. POS16 = '5H'
  3448. POS17 = '5H'
  3449. POS18 = '5H'
  3450. POS19 = '5H'
  3451. POS20 = '5H'
  3452. POS21 = '5H'
  3453. WHITEONRED = ''
  3454. BLACKONYELLOW = ''
  3455. YELLOWONBLUE = ''
  3456. CYANONBLACK = ''
  3457. YELLOWONBLACK = ''
  3458. PURPLEONBLACK = ''
  3459. BLUEONBLACK = ''
  3460. REDONYELLOW = ''
  3461. REDONBLUE = ''
  3462. BLACK = ''
  3463.  
  3464. bet = 0
  3465. Tl = 0
  3466. Dl = 0
  3467.  
  3468. BEAN:
  3469. CALL MESSAGE CLS
  3470. CALL MESSAGE " "
  3471. CALL MESSAGE "                          "BluCya"   Playing The Slots   "RESET
  3472. CALL MESSAGE " "
  3473. prompt( MAG"You have $"money" "BLU"["YEL"Q"BLU"]"MAG" Quits -- Your bet (Max 5000)?"BLU"> "RESET)
  3474. if checkBBS() then signal BYE
  3475. Bet=readstr()
  3476. if Bet = 0 | Bet = 'Q' then signal WHATTHEHELL
  3477. if Bet > money | Bet > 5000 then do
  3478. CALL MESSAGE " "
  3479. CALL MESSAGE "Sorry "handle", you can't bet that much!"
  3480. call delay(100)
  3481. signal BEAN
  3482.  end
  3483.  if Bet = '' | Bet = ' ' | Bet <= . then signal BEAN
  3484. else
  3485. CALL MESSAGE "  "
  3486. CALL MESSAGE POS3 CLL POS3 "Bet taken..."
  3487. signal BEANS
  3488.  
  3489. BEANS:
  3490. prompt( POS4 CLL POS4 CYA"Press 'P' to pull for your chance at big bucks! > ")
  3491. chr=readstr()
  3492. if checkBBS() then signal BYE
  3493. if chr = 'P' then do
  3494. CALL MESSAGE POS6 CLL POS6'     Your slots: '
  3495. call ROLL
  3496. numslots = 1
  3497. do for 3
  3498. call ROLL
  3499. numslots=numslots+1
  3500. end
  3501. call OUTPUT
  3502. numslots = 1
  3503. do for 3
  3504. call ROLL
  3505. numslots=numslots+1
  3506. end
  3507. call OUTPUT
  3508. numslots = 1
  3509. do for 3
  3510. call ROLL
  3511. numslots=numslots+1
  3512. end
  3513. call OUTPUT
  3514. numslots = 1
  3515. do for 3
  3516. call ROLL
  3517. numslots=numslots+1
  3518. end
  3519. call OUTPUT
  3520. call COMPARE
  3521. end
  3522. else signal WHATTHEHELL
  3523.  
  3524. ROLL:
  3525. slots.numslots = RANDOM(1,6,Time('s'))
  3526. slot.numslots = slots.numslots
  3527.   if slots.numslots = 1 then do
  3528.     slot.numslots = '='
  3529.   end
  3530.   if slots.numslots = 2 then do
  3531.     slot.numslots = '?'
  3532.   end
  3533.   if slots.numslots = 3 then do
  3534.     slot.numslots = '#'
  3535.   end
  3536.   if slots.numslots = 4 then do
  3537.     slot.numslots = '$'
  3538.   end
  3539.   if slots.numslots = 5 then do
  3540.     slot.numslots = '*'
  3541.   end
  3542.   if slots.numslots = 6 then do
  3543.     slot.numslots = '7'
  3544.   end
  3545. RETURN
  3546.  
  3547. OUTPUT:
  3548. if checkBBS() then signal BYE
  3549. CALL MESSAGE POS7 CLL POS7'                                             '
  3550. do i = 1 to numslots-1
  3551. CALL NOCR '  -<->- '
  3552. end
  3553. CALL MESSAGE ''
  3554. do i = 1 to numslots-1
  3555. CALL NOCR ' |     |'
  3556. end
  3557. CALL MESSAGE ''
  3558. do i = 1 to numslots-1
  3559. CALL NOCR ' |  'slot.i'  |'
  3560. end
  3561. CALL MESSAGE ''
  3562. do i = 1 to numslots-1
  3563. CALL NOCR ' |     |'
  3564. end
  3565. CALL MESSAGE ''
  3566. do i = 1 to numslots-1
  3567. CALL NOCR ' |ooooo|'
  3568. end
  3569. CALL MESSAGE ''
  3570. do i = 1 to numslots-1
  3571. CALL NOCR '   < >  '
  3572. end
  3573. CALL MESSAGE ''
  3574. call delay(50)
  3575. RETURN
  3576.  
  3577. COMPARE:
  3578. if slot.1 = slot.2 & slot.1 ~= slot.3 then signal WINNER
  3579. if slot.2 = slot.3 & slot.2 ~= slot.1 then signal WINNER
  3580. if slot.1 = slot.2 & slot.1 = slot.3 then signal WINNER1
  3581.  else money = money - bet
  3582. if purse = 0 | purse < 0 then signal OUTTACASH
  3583.  else signal LOSER
  3584.  
  3585. WINNER:
  3586. CALL MESSAGE " "
  3587. CALL MESSAGE POS15 CLL POS15 "You won double your bet which was "bet*2"!"
  3588. CALL MESSAGE " "
  3589. money=money+(bet*2)
  3590. call DBL
  3591. signal WHATTHEHELL
  3592.  
  3593. WINNER1:
  3594. CALL MESSAGE " "
  3595. CALL MESSAGE POS15 CLL POS15 "You won triple your bet which was "bet*3"!"
  3596. CALL MESSAGE " "
  3597. money=money+(bet*3)
  3598. call TPL
  3599. signal WHATTHEHELL
  3600.  
  3601. LOSER:
  3602. CALL MESSAGE " "
  3603. CALL MESSAGE POS15 CLL POS15 "You didn't win your bet!"
  3604. call delay(100)
  3605. signal WHATTHEHELL
  3606.  
  3607. WHATTHEHELL:
  3608. CALL MESSAGE " "
  3609. prompt( POS17 CLL POS17 "Do you want to continue playing (Y/N)? ")
  3610. ans=readstr()
  3611. if checkBBS() then signal BYE
  3612. if ans = 'Y' then signal BEAN
  3613. if ans = 'N' then signal VEGAS
  3614. if ans ~= 'N' | ans ~= 'Y' then signal WHATTHEHELL
  3615. signal WHATTHEHELL
  3616.  
  3617. TPL:
  3618. Tl=Tl+1
  3619. if Tl = 5 then call BROKEN
  3620. RETURN
  3621.  
  3622. DBL:
  3623. Dl=Dl+1
  3624. if Dl = 8 then call BROKEN
  3625. RETURN
  3626.  
  3627. OUTTACASH:
  3628. CALL MESSAGE CLS
  3629. CALL MESSAGE "    "
  3630. CALL MESSAGE POS17 CLL POS17 "You ain't got no money left! Boy, you sure did a lousy job!"
  3631. CALL MESSAGE "    "
  3632. call delay(100)
  3633. CALL MESSAGE POS18 CLL POS18 "Well since you're outta cash, we'll help you outta here!"
  3634. signal VEGAS
  3635.  
  3636. BROKEN:
  3637. CALL MESSAGE CLS
  3638. CALL MESSAGE "    "
  3639. CALL MESSAGE POS14 CLL POS14 "The Casino Manager wants to talk to you now!"
  3640. CALL MESSAGE "    "
  3641. call delay(100)
  3642. CALL MESSAGE POS15 CLL POS15 "It appears he isn't too happy with your Playing Skills!"
  3643. call delay(100)
  3644. CALL MESSAGE POS16 CLL POS16 "I'm afraid I will have to ask you to leave now, you won too much!"
  3645. CALL MESSAGE POS17 CLL POS17 "You Broke the Bank!! Try again later if you feel lucky...."
  3646. CALL MESSAGE "     "
  3647. call delay(100)
  3648. signal VEGAS
  3649.  
  3650.  
  3651. checkBBS:
  3652. IF ADDRESS()~='BAUD' THEN RETURN 0
  3653. IF TIME('e')>secs THEN RETURN 1
  3654. dcd
  3655. IF RC=0 THEN RETURN 1
  3656. temp=secs-TIME('E')
  3657. IF temp<120 THEN SAY '*** Only' temp 'seconds left! ***'CR 
  3658. RETURN 0
  3659.  
  3660.  
  3661. CRAPS:          /* Thanks to D.F. Duck for some of this routine! */
  3662. if money <= 0 then do
  3663.    turnsleft = turnsleft + 1
  3664.    CALL MESSAGE CLS
  3665.    CALL MESSAGE " "
  3666.    CALL MESSAGE RED center("YOU NEED MONEY TO PLAY THIS GAME!",78)
  3667.    CALL MESSAGE " "
  3668.    call delay(150)
  3669.    return
  3670.   end
  3671. CALL MESSAGE CLS
  3672. CALL MESSAGE "                         "BluCya"   Playing Craps   "RESET
  3673. CALL MESSAGE " "
  3674. call MAIN
  3675. return
  3676.  
  3677. Main:
  3678.         RollNum = 0
  3679.         RollOld = 0
  3680.         call Bet
  3681.         call RollIt
  3682. return
  3683.  
  3684. Bet:
  3685.         CALL MESSAGE " "
  3686.                 CALL MESSAGE BLU" You have $"CYA||money||BLU".  Maximum bet is $"CYA"5000"BLU"."RESET
  3687.                 prompt( CYA" How much do you wish to bet "BLU"["YEL"Q"BLU"]"CYA" To Quit?: "RESET)
  3688.                 TimeBet=readstr()
  3689.                 if checkBBS() then signal BYE
  3690.                 if TimeBet = "q" | TimeBet = "Q" then signal VEGAS
  3691.                 if money < TimeBet then do
  3692.                    CALL MESSAGE CLS
  3693.                    CALL MESSAGE " "
  3694.                    CALL MESSAGE RED"              YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!"RESET
  3695.                    CALL MESSAGE " "
  3696.                    call delay(150)
  3697.                    call BET
  3698.                    return
  3699.                 end
  3700.                 if TimeBet = 1 then Minutes = "Dollar"
  3701.                 else Minutes = "Dollars"
  3702.                 if TimeBet < 1 then call BET
  3703.                 if TimeBet > 5000 then call BET
  3704.                 if TimeBet = "" | TimeBet = " " then signal VEGAS
  3705. return
  3706.  
  3707. RollIt:
  3708.    do forever
  3709.         CALL MESSAGE " "
  3710.         prompt( "Press ["RED"RETURN"RESET"] To Roll... ")
  3711.         YesPlay=readstr()
  3712.         if checkBBS() then signal BYE
  3713.         call Roller
  3714.     end
  3715. return
  3716.  
  3717. Roller:
  3718.         CALL MESSAGE CLS
  3719.         RollNum = RollNum + 1
  3720.         CALL MESSAGE "Roll #"RollNum
  3721.         CALL MESSAGE " "
  3722.         Rand1 = RANDOM(1,6,Time('s'))
  3723.         DicePos = ""
  3724.         DiceSet = insert("Dice",Rand1)
  3725.         interpret "call" DiceSet
  3726.         Rand2 = RANDOM(1,6,Time('s'))
  3727.         DicePos = "        "
  3728.         DiceSet = insert("Dice",Rand2)
  3729.         interpret "call" DiceSet
  3730.         CALL MESSAGE " "
  3731.         RandSum = Rand1 + Rand2
  3732.         CALL MESSAGE "You Rolled A "RandSum"."
  3733.         CALL MESSAGE " "
  3734.         if RandSum = 7 | RandSum = 11 then do
  3735.                 if RollNum = 1 then call Win
  3736.                 else call Lost
  3737.                 end
  3738.         if RollNum = 1 then RollOld = RandSum
  3739.         if RollOld = RandSum then do
  3740.                 if RollNum ~= 1 then call Win
  3741.                 end
  3742.         CALL MESSAGE "You Need Another "GRE||RollOld||RESET" To Win!"
  3743. return
  3744.  
  3745.  
  3746. Win:
  3747.         if RollNum = 1 then do
  3748.                 CALL MESSAGE "You Rolled A "RandSum" On The 1st Roll Which "GRE"Doubles"RESET" Your Bet!"
  3749.                 TimeBet = TimeBet * 2
  3750.         end
  3751.         CALL MESSAGE "Craps! You "RED"Won "TimeBet" "Minutes||RESET"!"
  3752.         money = money + TimeBet
  3753.         if TimeBet = 1 then Minutes = "Dollar"
  3754.         else Minutes = "Dollars"
  3755.         call Again
  3756.         signal VEGAS
  3757. return
  3758.  
  3759.  
  3760. Lost:
  3761.         CALL MESSAGE "You Crapped Out, You "GRE"Lost "TimeBet" "Minutes||RESET"!"
  3762.         if TimeBet = 1 then Minutes = "Dollar"
  3763.         else Minutes = "Dollars"
  3764.         money = money - TimeBet
  3765.         call Again
  3766.         signal Vegas
  3767. return
  3768.  
  3769.  
  3770. Again:
  3771.         CALL MESSAGE " "
  3772.         prompt( GRE"Do You Want To Play Again (Y/N)? "RESET)
  3773.         PlayAgain=readstr()
  3774.         if checkBBS() then signal BYE
  3775.         if PlayAgain = "y" | PlayAgain = "Y" then call CRAPS
  3776.         if PlayAgain = "n" | PlayAgain = "N" then signal VEGAS
  3777. return
  3778.  
  3779. Dice1:
  3780.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3781.         CALL MESSAGE DicePos||WHIBLK"   *   "RESET
  3782.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3783. return
  3784.  
  3785. Dice2:
  3786.         CALL MESSAGE DicePos||WHIBLK"     * "RESET
  3787.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3788.         CALL MESSAGE DicePos||WHIBLK" *     "RESET
  3789. return
  3790.  
  3791. Dice3:
  3792.         CALL MESSAGE DicePos||WHIBLK"     * "RESET
  3793.         CALL MESSAGE DicePos||WHIBLK"   *   "RESET
  3794.         CALL MESSAGE DicePos||WHIBLK" *     "RESET
  3795. return
  3796.  
  3797. Dice4:
  3798.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3799.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3800.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3801. return
  3802.  
  3803. Dice5:
  3804.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3805.         CALL MESSAGE DicePos||WHIBLK"   *   "RESET
  3806.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3807. return
  3808.  
  3809. Dice6:
  3810.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3811.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3812.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3813. return
  3814.  
  3815.  
  3816. MESSAGE:
  3817. PARSE ARG string 
  3818. SAY string||CR
  3819. RETURN
  3820.  
  3821.  
  3822. NOCR:
  3823. PARSE ARG string 
  3824. x=OPEN(f,'*','W')
  3825. IF x=0 THEN RETURN
  3826. CALL WRITECH(f,string)
  3827. CALL CLOSE(f)
  3828. RETURN
  3829.  
  3830. readstr: procedure
  3831. str=''
  3832. out=readch(STDIN)
  3833.  call WRITECH(STDOUT,out)
  3834.  do while out~=D2C(13)
  3835.       if out=D2C(8) then do
  3836.          str=SUBSTR(str,1,LENGTH(str)-1)
  3837.          call WRITECH(STDOUT,' ')
  3838.          call WRITECH(STDOUT,out)
  3839.          end
  3840.       else
  3841.          str=INSERT(str,out)
  3842.       out=readch(STDIN)
  3843.       call WRITECH(STDOUT,out)
  3844.     end
  3845. say '0D'x
  3846. return(UPPER(str))
  3847.  
  3848. prompt: procedure
  3849. parse arg str
  3850. writech(STDOUT,str)
  3851. return 1
  3852.  
  3853. BREAK_C:
  3854. BREAK_E:
  3855. SAY 'Exiting back to BBS...'CR
  3856. EXIT
  3857.  
  3858. /* YuppieWars.rexx */
  3859.